#515F02

Closest named color: Camouflage Green (#4B6113). oklch(45.7% 0.107 119.2), rgb(81, 95, 2).

Aa

White text reads best on this color (7.02:1).

About this color

#515F02 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 46%, its chroma 0.107 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camouflage Green (#4B6113), ΔE 0.010 away. White text reads best on it, at 7.02:1.

Hue familyYellows
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameCamouflage Green (#4B6113)
Black text2.98:1
White text7.02:1

Values

HEX#515F02
RGBrgb(81, 95, 2)
HSLhsl(69, 96%, 19%)
OKLCHoklch(45.7% 0.107 119.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #515F02 7.02:1 AAA Lc -89.1 Fine for body text
Black text on #515F02 2.98:1 Fails Lc 19.8 Dividers and decoration only
#515F02 text on white 7.02:1 AAA Lc 84.2 Fine for body text
#515F02 text on black 2.98:1 Fails Lc -17.8 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D6DDC4

    oklch(88.5% 0.034 119.8)

  4. Step 300

    300

    #BCC79A

    oklch(81% 0.062 119)

  5. Step 400

    400

    #99AA60

    oklch(70.8% 0.101 119.6)

  6. Step 500

    500

    #81942E

    oklch(63.1% 0.128 119.3)

  7. Step 600

    600

    #6B7D00

    oklch(55.5% 0.131 119.3)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800 (this color)

    #515F02

    oklch(45.7% 0.107 119.2)

  10. Step 900

    900

    #3D4708

    oklch(37.6% 0.083 118.8)

  11. Step 950

    950

    #242A09

    oklch(27.1% 0.052 118.8)

Export this scale for Tailwind in the Tailwind colors tool

#515F02 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#6659000.037
Deuteranopia (no green cones)#64590E0.037
Tritanopia (no blue cones)#5759500.092
Achromatopsia (no color)#5959590.107

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #515F02

    #515F02

    oklch(45.7% 0.107 119.2)

  • #60488A

    #60488A

    oklch(45.8% 0.107 298.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #515F02

    #515F02

    oklch(45.7% 0.107 119.2)

  • #6C5400

    #6C5400

    oklch(45.8% 0.094 89.5)

  • #216734

    #216734

    oklch(45.7% 0.107 149.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #515F02

    #515F02

    oklch(45.7% 0.107 119.2)

  • #3F5393

    #3F5393

    oklch(45.8% 0.107 268.8)

  • #773F74

    #773F74

    oklch(45.7% 0.107 329.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #515F02

    #515F02

    oklch(45.7% 0.107 119.2)

  • #005E8A

    #005E8A

    oklch(45.8% 0.103 238.7)

  • #853A56

    #853A56

    oklch(45.7% 0.107 358.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #515F02

    #515F02

    oklch(45.7% 0.107 119.2)

  • #00636F

    #00636F

    oklch(45.8% 0.079 209.2)

  • #60488A

    #60488A

    oklch(45.8% 0.107 298.9)

  • #893C33

    #893C33

    oklch(45.7% 0.107 28.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #515F02, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #515F02 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.