#235F27

Closest named color: Pine (#2B5D34). oklch(43.2% 0.107 144.6), rgb(35, 95, 39).

Aa

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

About this color

#235F27 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.107 and its hue 145°. 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.67:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.73:1
White text7.67:1

Values

HEX#235F27
RGBrgb(35, 95, 39)
HSLhsl(124, 46%, 25%)
OKLCHoklch(43.2% 0.107 144.6)

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 #235F27 7.67:1 AAA Lc -91.2 Preferred for body text
Black text on #235F27 2.73:1 Fails Lc 17.6 Dividers and decoration only
#235F27 text on white 7.67:1 AAA Lc 86.4 Fine for body text
#235F27 text on black 2.73:1 Fails Lc -15.7 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE2

    oklch(93.6% 0.018 142.8)

  3. Step 200

    200

    #CCE0CB

    oklch(88.6% 0.036 144)

  4. Step 300

    300

    #A8CCA8

    oklch(80.9% 0.063 145)

  5. Step 400

    400

    #79B179

    oklch(70.7% 0.1 144.4)

  6. Step 500

    500

    #539D56

    oklch(63% 0.128 144.7)

  7. Step 600

    600

    #34883A

    oklch(55.7% 0.14 144.6)

  8. Step 700

    700

    #26732C

    oklch(49.2% 0.13 144.5)

  9. Step 800

    800 (this color)

    #235F27

    oklch(43.2% 0.107 144.6)

  10. Step 900

    900

    #214D23

    oklch(37.7% 0.085 144.5)

  11. Step 950

    950

    #142D15

    oklch(26.9% 0.053 144.7)

Export this scale for Tailwind in the Tailwind colors tool

#235F27 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)#6156220.081
Deuteranopia (no green cones)#59512B0.080
Tritanopia (no blue cones)#175C520.066
Achromatopsia (no color)#5353530.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #235F27

    #235F27

    oklch(43.2% 0.107 144.6)

  • #6D3971

    #6D3971

    oklch(43.3% 0.108 324.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #235F27

    #235F27

    oklch(43.2% 0.107 144.6)

  • #505600

    #505600

    oklch(43.3% 0.098 114.4)

  • #005F4D

    #005F4D

    oklch(43.3% 0.082 173.9)

Open the analogous palette in the generator

Split complementary

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

  • #235F27

    #235F27

    oklch(43.2% 0.107 144.6)

  • #554285

    #554285

    oklch(43.2% 0.108 294.5)

  • #7C3354

    #7C3354

    oklch(43.2% 0.108 354.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #235F27

    #235F27

    oklch(43.2% 0.107 144.6)

  • #324D8B

    #324D8B

    oklch(43.2% 0.108 264.6)

  • #813432

    #813432

    oklch(43.2% 0.107 24.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #235F27

    #235F27

    oklch(43.2% 0.107 144.6)

  • #00577B

    #00577B

    oklch(43.1% 0.092 235.2)

  • #6D3971

    #6D3971

    oklch(43.3% 0.108 324.6)

  • #7C3D00

    #7C3D00

    oklch(43.3% 0.107 54.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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