#235B17#235B17

#235B17 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.115 H 140.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#235B17
RGBrgb(35, 91, 23)
HSLhsl(109, 60%, 22%)
HSVhsv(109, 75%, 36%)
CMYKcmyk(61.5%, 0%, 74.7%, 64.3%)
CIE-LABlab(33.78, -32.49, 32.24)
CIE-LCHlch(33.78, 45.77, 135.22°)
OKLaboklab(41.83% -0.089 0.0736)
OKLCHoklch(41.83% 0.115 140.4)
XYZxyz(4.5887, 7.9010, 2.0937)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235B17 #4F175B
analogous
#455B17 #235B17 #175B2D
triadic
#235B17 #17235B #5B1723
tetradic
#235B17 #17455B #4F175B #5B2D17
square
#235B17 #17455B #4F175B #5B2D17
split-complementary
#235B17 #2D175B #5B1745
monochromatic
#091806 #102A0B #235B17 #368C23 #49BD30

Accessibility & contrast

On white

8.14
#235B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#235B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235B17
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235B17#FFFFFF#000000##FFFFFF
##235B171.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520D
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#1C584D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #235b17;
/* rgb */ color: rgb(35, 91, 23);
/* oklch */ color: oklch(41.8% 0.115 140.4);
Tailwind
colors: {
  custom: {
    50: '#658a58',
    500: '#235b17',
    950: '#000000',
  },
}
SCSS
$custom: #235b17;
$custom-light: #658a58;
$custom-dark: #000000;
JSON
{
  "hex": "#235b17",
  "rgb": {
    "r": 35,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 109.412,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41831,
    "c": 0.11547,
    "h": 140.4
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#235B17
secondary
#833C92
accent
#45E3C7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #235B17

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

Preview Lab → · Contrast checker → · Palette generator →

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