#21874E

Closest named color: Sea Green (#2E8B57). oklch(55.2% 0.127 153.7), rgb(33, 135, 78).

Aa

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

About this color

#21874E is a medium-dark, moderately saturated green. In OKLCH its lightness is 55%, its chroma 0.127 and its hue 154°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.018 away. Black text reads best on it, at 4.64:1.

Hue familyGreens
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameSea Green (#2E8B57)
Black text4.64:1
White text4.52:1

Values

HEX#21874E
RGBrgb(33, 135, 78)
HSLhsl(146, 61%, 33%)
OKLCHoklch(55.2% 0.127 153.7)

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 #21874E 4.52:1 AA Lc -76.5 Fine for body text
Black text on #21874E 4.64:1 AA Lc 33.1 Non-text elements, placeholder text
#21874E text on white 4.52:1 AA Lc 71.0 Content text, not long reading
#21874E text on black 4.64:1 AA Lc -30.7 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 600.

  1. Step 50

    50

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE5

    oklch(93.6% 0.016 154.5)

  3. Step 200

    200

    #CAE0D0

    oklch(88.6% 0.032 154.1)

  4. Step 300

    300

    #A5CCB0

    oklch(80.9% 0.057 153.8)

  5. Step 400

    400

    #72B286

    oklch(70.8% 0.092 153.5)

  6. Step 500

    500

    #489E68

    oklch(63.2% 0.117 153.8)

  7. Step 600

    600 (this color)

    #21874E

    oklch(55.2% 0.127 153.7)

  8. Step 700

    700

    #127340

    oklch(49% 0.117 153.9)

  9. Step 800

    800

    #155E35

    oklch(42.7% 0.097 153.7)

  10. Step 900

    900

    #1A4D2E

    oklch(37.7% 0.076 153.7)

  11. Step 950

    950

    #112D1B

    oklch(26.9% 0.048 153.5)

Export this scale for Tailwind in the Tailwind colors tool

#21874E 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)#877B4A0.111
Deuteranopia (no green cones)#7B73520.109
Tritanopia (no blue cones)#0085790.065
Achromatopsia (no color)#7676760.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #21874E

    #21874E

    oklch(55.2% 0.127 153.7)

  • #9D5391

    #9D5391

    oklch(55.2% 0.127 333.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21874E

    #21874E

    oklch(55.2% 0.127 153.7)

  • #637E18

    #637E18

    oklch(55.3% 0.127 124)

  • #008478

    #008478

    oklch(55.1% 0.098 183.8)

Open the analogous palette in the generator

Split complementary

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

  • #21874E

    #21874E

    oklch(55.2% 0.127 153.7)

  • #825DAE

    #825DAE

    oklch(55.2% 0.127 303.6)

  • #AD4E6A

    #AD4E6A

    oklch(55.2% 0.127 3.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21874E

    #21874E

    oklch(55.2% 0.127 153.7)

  • #5C6ABC

    #5C6ABC

    oklch(55.2% 0.128 274.2)

  • #B0523E

    #B0523E

    oklch(55.2% 0.127 33.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21874E

    #21874E

    oklch(55.2% 0.127 153.7)

  • #1878B6

    #1878B6

    oklch(55.1% 0.127 243.9)

  • #9D5391

    #9D5391

    oklch(55.2% 0.127 333.5)

  • #A45F00

    #A45F00

    oklch(55.2% 0.125 63.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21874E 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.