#235F31#235F31

#235F31 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.097 H 148.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#235F31
RGBrgb(35, 95, 49)
HSLhsl(134, 46%, 25%)
HSVhsv(134, 63%, 37%)
CMYKcmyk(63.2%, 0%, 48.4%, 62.7%)
CIE-LABlab(35.52, -30.59, 20.65)
CIE-LCHlch(35.52, 36.91, 145.99°)
OKLaboklab(43.38% -0.0827 0.0506)
OKLCHoklch(43.38% 0.097 148.5)
XYZxyz(5.3394, 8.7630, 4.3152)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235F31 #5F2351
analogous
#335F23 #235F31 #235F4F
triadic
#235F31 #31235F #5F3123
tetradic
#235F31 #23335F #5F2351 #5F4F23
square
#235F31 #23335F #5F2351 #5F4F23
split-complementary
#235F31 #4F235F #5F2333
monochromatic
#08160C #13321A #235F31 #338C48 #44B85F

Accessibility & contrast

On white

7.63
#235F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#235F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235F31
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235F31#FFFFFF#000000##FFFFFF
##235F311.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572D
Deuteranopia (green-blind)
#585134
Tritanopia (blue-blind)
#145D54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #235f31;
/* rgb */ color: rgb(35, 95, 49);
/* oklch */ color: oklch(43.4% 0.097 148.5);
Tailwind
colors: {
  custom: {
    50: '#658d6a',
    500: '#235f31',
    950: '#000000',
  },
}
SCSS
$custom: #235f31;
$custom-light: #658d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#235f31",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 49
  },
  "hsl": {
    "h": 134,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43376,
    "c": 0.09697,
    "h": 148.5
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#235F31
secondary
#934B82
accent
#52B7D6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #235F31

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#235F31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva