#828C2A

Closest named color: Camo (#7F8F4E). oklch(61.3% 0.12 115), rgb(130, 140, 42).

Aa

Black text reads best on this color (5.73:1).

About this color

#828C2A is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.120 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.032 away. Black text reads best on it, at 5.73:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.73:1
White text3.66:1

Values

HEX#828C2A
RGBrgb(130, 140, 42)
HSLhsl(66, 54%, 36%)
OKLCHoklch(61.3% 0.12 115)

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 #828C2A 3.66:1 AA large text Lc -69.6 Content text, not long reading
Black text on #828C2A 5.73:1 AA Lc 40.0 Non-text elements, placeholder text
#828C2A text on white 3.66:1 AA large text Lc 64.1 Content text, not long reading
#828C2A text on black 5.73:1 AA Lc -37.6 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9EBDF

    oklch(93.5% 0.016 114.4)

  3. Step 200

    200

    #D8DCC4

    oklch(88.5% 0.032 114.7)

  4. Step 300

    300

    #BFC69A

    oklch(81% 0.06 115.1)

  5. Step 400

    400

    #9EA861

    oklch(70.7% 0.095 115.4)

  6. Step 500

    500 (this color)

    #828C2A

    oklch(61.3% 0.12 115)

  7. Step 600

    600

    #727B00

    oklch(55.6% 0.126 114.8)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4E5500

    oklch(42.8% 0.097 115.1)

  10. Step 900

    900

    #40460B

    oklch(37.6% 0.078 115.4)

  11. Step 950

    950

    #262909

    oklch(27% 0.05 114.3)

Export this scale for Tailwind in the Tailwind colors tool

#828C2A 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)#96851B0.033
Deuteranopia (no green cones)#9586310.035
Tritanopia (no blue cones)#8A84780.104
Achromatopsia (no color)#8686860.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #828C2A

    #828C2A

    oklch(61.3% 0.12 115)

  • #8A74C4

    #8A74C4

    oklch(61.3% 0.12 295.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #828C2A

    #828C2A

    oklch(61.3% 0.12 115)

  • #A57D14

    #A57D14

    oklch(61.3% 0.12 84.8)

  • #519755

    #519755

    oklch(61.4% 0.121 145.1)

Open the analogous palette in the generator

Split complementary

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

  • #828C2A

    #828C2A

    oklch(61.3% 0.12 115)

  • #6081CC

    #6081CC

    oklch(61.2% 0.12 265.1)

  • #A869AC

    #A869AC

    oklch(61.3% 0.121 324.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #828C2A

    #828C2A

    oklch(61.3% 0.12 115)

  • #218EC1

    #218EC1

    oklch(61.2% 0.12 235)

  • #BB6388

    #BB6388

    oklch(61.3% 0.12 354.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #828C2A

    #828C2A

    oklch(61.3% 0.12 115)

  • #0096A2

    #0096A2

    oklch(61.4% 0.105 204.8)

  • #8A74C4

    #8A74C4

    oklch(61.3% 0.12 295.3)

  • #C2655E

    #C2655E

    oklch(61.4% 0.12 25.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #828C2A 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.