#235C42

Closest named color: Pine (#2B5D34). oklch(42.9% 0.074 161), rgb(35, 92, 66).

Aa

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

About this color

#235C42 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.074 and its hue 161°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.022 away. White text reads best on it, at 7.83:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.68:1
White text7.83:1

Values

HEX#235C42
RGBrgb(35, 92, 66)
HSLhsl(153, 45%, 25%)
OKLCHoklch(42.9% 0.074 161)

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 #235C42 7.83:1 AAA Lc -91.7 Preferred for body text
Black text on #235C42 2.68:1 Fails Lc 17.0 Dividers and decoration only
#235C42 text on white 7.83:1 AAA Lc 87.0 Fine for body text
#235C42 text on black 2.68:1 Fails Lc -15.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 800.

  1. Step 50

    50

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E3EDE7

    oklch(93.7% 0.013 159.9)

  3. Step 200

    200

    #CCDED4

    oklch(88.4% 0.024 161.7)

  4. Step 300

    300

    #A9CAB8

    oklch(81% 0.043 161.4)

  5. Step 400

    400

    #79AE93

    oklch(70.6% 0.069 161.8)

  6. Step 500

    500

    #549A78

    oklch(63% 0.089 161.3)

  7. Step 600

    600

    #368561

    oklch(55.7% 0.096 161)

  8. Step 700

    700

    #277050

    oklch(49.1% 0.089 161.2)

  9. Step 800

    800 (this color)

    #235C42

    oklch(42.9% 0.074 161)

  10. Step 900

    900

    #224B37

    oklch(37.7% 0.058 160.5)

  11. Step 950

    950

    #152C21

    oklch(27% 0.036 161.9)

Export this scale for Tailwind in the Tailwind colors tool

#235C42 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)#5B55410.072
Deuteranopia (no green cones)#5350440.069
Tritanopia (no blue cones)#0A5C550.031
Achromatopsia (no color)#5252520.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #235C42

    #235C42

    oklch(42.9% 0.074 161)

  • #6B3F5C

    #6B3F5C

    oklch(43% 0.074 340.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #235C42

    #235C42

    oklch(42.9% 0.074 161)

  • #41582B

    #41582B

    oklch(43% 0.074 131.1)

  • #005C59

    #005C59

    oklch(42.9% 0.074 190.9)

Open the analogous palette in the generator

Split complementary

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

  • #235C42

    #235C42

    oklch(42.9% 0.074 161)

  • #5D436E

    #5D436E

    oklch(42.9% 0.076 311.2)

  • #723D45

    #723D45

    oklch(42.8% 0.075 11.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #235C42

    #235C42

    oklch(42.9% 0.074 161)

  • #484A77

    #484A77

    oklch(42.8% 0.074 280.8)

  • #72412E

    #72412E

    oklch(43% 0.075 41.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #235C42

    #235C42

    oklch(42.9% 0.074 161)

  • #2F5277

    #2F5277

    oklch(43% 0.074 251.1)

  • #6B3F5C

    #6B3F5C

    oklch(43% 0.074 340.8)

  • #69481C

    #69481C

    oklch(42.9% 0.074 71.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #235C42 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.