#235F18#235F18

#235F18 is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.0% C 0.120 H 140.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#235F18
RGBrgb(35, 95, 24)
HSLhsl(111, 60%, 23%)
HSVhsv(111, 75%, 37%)
CMYKcmyk(63.2%, 0%, 74.7%, 62.7%)
CIE-LABlab(35.22, -34.04, 33.30)
CIE-LCHlch(35.22, 47.62, 135.63°)
OKLaboklab(43.02% -0.0931 0.0759)
OKLCHoklch(43.02% 0.12 140.8)
XYZxyz(4.9500, 8.6072, 2.2645)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235F18 #54185F
analogous
#465F18 #235F18 #185F30
triadic
#235F18 #18235F #5F1823
tetradic
#235F18 #18465F #54185F #5F3018
square
#235F18 #18465F #54185F #5F3018
split-complementary
#235F18 #30185F #5F1846
monochromatic
#091806 #112E0C #235F18 #359024 #47C131

Accessibility & contrast

On white

7.72
#235F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#235F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235F18
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235F18#FFFFFF#000000##FFFFFF
##235F181.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560D
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#1B5C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #235f18;
/* rgb */ color: rgb(35, 95, 24);
/* oklch */ color: oklch(43.0% 0.120 140.8);
Tailwind
colors: {
  custom: {
    50: '#668d59',
    500: '#235f18',
    950: '#000000',
  },
}
SCSS
$custom: #235f18;
$custom-light: #668d59;
$custom-dark: #000000;
JSON
{
  "hex": "#235f18",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 110.704,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43024,
    "c": 0.12018,
    "h": 140.8
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#235F18
secondary
#883D95
accent
#45E3CA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #235F18

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

Preview Lab → · Contrast checker → · Palette generator →

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