#273E31

Closest named color: Onyx (#343A40). oklch(34% 0.037 158.9), rgb(39, 62, 49).

Aa

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

About this color

#273E31 is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.037 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.039 away. White text reads best on it, at 11.54:1.

Hue familyGreens
Lightnessdark (34%)
Chromamuted (0.037)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.81:1
White text11.54:1

Values

HEX#273E31
RGBrgb(39, 62, 49)
HSLhsl(146, 23%, 20%)
OKLCHoklch(34% 0.037 158.9)

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 #273E31 11.54:1 AAA Lc -100.2 Preferred for body text
Black text on #273E31 1.81:1 Fails Lc 7.4 Not readable
#273E31 text on white 11.54:1 AAA Lc 96.5 Preferred for body text
#273E31 text on black 1.81:1 Fails Lc 0.0 Not readable

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

  1. Step 50

    50

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E6EBE8

    oklch(93.5% 0.007 160.1)

  3. Step 200

    200

    #D1DCD5

    oklch(88.4% 0.015 158.2)

  4. Step 300

    300

    #B2C6BA

    oklch(80.8% 0.027 159.4)

  5. Step 400

    400

    #8AA997

    oklch(70.6% 0.043 159.6)

  6. Step 500

    500

    #6C947D

    oklch(63% 0.056 159.1)

  7. Step 600

    600

    #537F66

    oklch(55.7% 0.062 158.6)

  8. Step 700

    700

    #436B55

    oklch(49.1% 0.058 159.3)

  9. Step 800

    800

    #385745

    oklch(42.7% 0.048 158.1)

  10. Step 900

    900 (this color)

    #273E31

    oklch(34% 0.037 158.9)

  11. Step 950

    950

    #1D2A22

    oklch(27% 0.023 157.4)

Export this scale for Tailwind in the Tailwind colors tool

#273E31 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)#3E3B300.035
Deuteranopia (no green cones)#3A38320.034
Tritanopia (no blue cones)#223E3A0.016
Achromatopsia (no color)#3939390.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #273E31

    #273E31

    oklch(34% 0.037 158.9)

  • #45313E

    #45313E

    oklch(34.1% 0.036 340)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #273E31

    #273E31

    oklch(34% 0.037 158.9)

  • #323C27

    #323C27

    oklch(34.1% 0.038 128.9)

  • #203E3C

    #203E3C

    oklch(34% 0.036 190.1)

Open the analogous palette in the generator

Split complementary

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

  • #273E31

    #273E31

    oklch(34% 0.037 158.9)

  • #3E3347

    #3E3347

    oklch(34.1% 0.037 309.4)

  • #493034

    #493034

    oklch(34% 0.037 8.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #273E31

    #273E31

    oklch(34% 0.037 158.9)

  • #34364B

    #34364B

    oklch(34% 0.037 280)

  • #49312A

    #49312A

    oklch(33.9% 0.037 36.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #273E31

    #273E31

    oklch(34% 0.037 158.9)

  • #293A4B

    #293A4B

    oklch(34.1% 0.037 249)

  • #45313E

    #45313E

    oklch(34.1% 0.036 340)

  • #453523

    #453523

    oklch(34.2% 0.037 69.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #273E31 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.