#626B22

Closest named color: Dark Olive Green (#556B2F). oklch(50.5% 0.096 116), rgb(98, 107, 34).

Aa

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

About this color

#626B22 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 50%, its chroma 0.096 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.020 away. White text reads best on it, at 5.76:1.

Hue familyYellows
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.64:1
White text5.76:1

Values

HEX#626B22
RGBrgb(98, 107, 34)
HSLhsl(67, 52%, 28%)
OKLCHoklch(50.5% 0.096 116)

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 #626B22 5.76:1 AA Lc -84.0 Fine for body text
Black text on #626B22 3.64:1 AA large text Lc 25.3 Dividers and decoration only
#626B22 text on white 5.76:1 AA Lc 78.7 Fine for body text
#626B22 text on black 3.64:1 AA large text Lc -23.1 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 700.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D8DCC8

    oklch(88.6% 0.027 116.1)

  4. Step 300

    300

    #BFC5A3

    oklch(81% 0.047 115.6)

  5. Step 400

    400

    #9EA771

    oklch(70.8% 0.075 116)

  6. Step 500

    500

    #86914A

    oklch(63.1% 0.096 116.5)

  7. Step 600

    600

    #707A2B

    oklch(55.4% 0.103 116)

  8. Step 700

    700 (this color)

    #626B22

    oklch(50.5% 0.096 116)

  9. Step 800

    800

    #4D541B

    oklch(42.7% 0.079 115.8)

  10. Step 900

    900

    #40461C

    oklch(37.8% 0.063 116.3)

  11. Step 950

    950

    #252911

    oklch(27% 0.04 117)

Export this scale for Tailwind in the Tailwind colors tool

#626B22 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)#7365180.029
Deuteranopia (no green cones)#7266270.030
Tritanopia (no blue cones)#68655C0.084
Achromatopsia (no color)#6666660.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #626B22

    #626B22

    oklch(50.5% 0.096 116)

  • #6A5895

    #6A5895

    oklch(50.5% 0.096 296.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #626B22

    #626B22

    oklch(50.5% 0.096 116)

  • #7D6012

    #7D6012

    oklch(50.5% 0.097 86.2)

  • #3D7342

    #3D7342

    oklch(50.5% 0.096 146)

Open the analogous palette in the generator

Split complementary

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

  • #626B22

    #626B22

    oklch(50.5% 0.096 116)

  • #4A629C

    #4A629C

    oklch(50.4% 0.097 266)

  • #815082

    #815082

    oklch(50.5% 0.097 326.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #626B22

    #626B22

    oklch(50.5% 0.096 116)

  • #1E6C94

    #1E6C94

    oklch(50.4% 0.096 236.2)

  • #8F4B66

    #8F4B66

    oklch(50.4% 0.097 356)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #626B22

    #626B22

    oklch(50.5% 0.096 116)

  • #00727D

    #00727D

    oklch(50.4% 0.086 206.5)

  • #6A5895

    #6A5895

    oklch(50.5% 0.096 296.4)

  • #944D47

    #944D47

    oklch(50.5% 0.096 26.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #626B22 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.