#315833

Closest named color: Pine (#2B5D34). oklch(42.1% 0.075 145.2), rgb(49, 88, 51).

Aa

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

About this color

#315833 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.075 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.016 away. White text reads best on it, at 8.15:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.57:1
White text8.15:1

Values

HEX#315833
RGBrgb(49, 88, 51)
HSLhsl(123, 28%, 27%)
OKLCHoklch(42.1% 0.075 145.2)

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 #315833 8.15:1 AAA Lc -92.7 Preferred for body text
Black text on #315833 2.57:1 Fails Lc 15.9 Dividers and decoration only
#315833 text on white 8.15:1 AAA Lc 88.1 Fine for body text
#315833 text on black 2.57:1 Fails Lc -14.1 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 800.

  1. Step 50

    50

    #F3F6F3

    oklch(97% 0.005 145.5)

  2. Step 100

    100

    #E5ECE5

    oklch(93.6% 0.012 145.5)

  3. Step 200

    200

    #D0DED0

    oklch(88.6% 0.024 145.4)

  4. Step 300

    300

    #B0C9B0

    oklch(81% 0.044 145.2)

  5. Step 400

    400

    #85AD86

    oklch(70.8% 0.071 145.4)

  6. Step 500

    500

    #669868

    oklch(63.1% 0.089 145.4)

  7. Step 600

    600

    #4C824F

    oklch(55.5% 0.097 145.4)

  8. Step 700

    700

    #3D6E40

    oklch(49.1% 0.09 145.4)

  9. Step 800

    800 (this color)

    #315833

    oklch(42.1% 0.075 145.2)

  10. Step 900

    900

    #2D4A2E

    oklch(37.8% 0.059 145.1)

  11. Step 950

    950

    #1B2B1B

    oklch(26.9% 0.036 144.5)

Export this scale for Tailwind in the Tailwind colors tool

#315833 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)#5952300.057
Deuteranopia (no green cones)#544E350.057
Tritanopia (no blue cones)#2C564F0.046
Achromatopsia (no color)#4F4F4F0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #315833

    #315833

    oklch(42.1% 0.075 145.2)

  • #623E64

    #623E64

    oklch(42% 0.076 325)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315833

    #315833

    oklch(42.1% 0.075 145.2)

  • #4C521D

    #4C521D

    oklch(42.1% 0.075 115.1)

  • #0C5A4B

    #0C5A4B

    oklch(42% 0.075 175.5)

Open the analogous palette in the generator

Split complementary

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

  • #315833

    #315833

    oklch(42.1% 0.075 145.2)

  • #504472

    #504472

    oklch(42% 0.076 294.9)

  • #6D3B4F

    #6D3B4F

    oklch(42.1% 0.075 355.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315833

    #315833

    oklch(42.1% 0.075 145.2)

  • #394C76

    #394C76

    oklch(42.1% 0.074 264.9)

  • #713C38

    #713C38

    oklch(42.1% 0.075 25.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315833

    #315833

    oklch(42.1% 0.075 145.2)

  • #1B5370

    #1B5370

    oklch(42% 0.075 235.4)

  • #623E64

    #623E64

    oklch(42% 0.076 325)

  • #6C4122

    #6C4122

    oklch(42% 0.075 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 #315833, closest first.

Similar named colors

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

Use #315833 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.