#235B18#235B18

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

Color values

HEX#235B18
RGBrgb(35, 91, 24)
HSLhsl(110, 58%, 23%)
HSVhsv(110, 74%, 36%)
CMYKcmyk(61.5%, 0%, 73.6%, 64.3%)
CIE-LABlab(33.78, -32.39, 31.80)
CIE-LCHlch(33.78, 45.39, 135.53°)
OKLaboklab(41.84% -0.0887 0.0728)
OKLCHoklch(41.84% 0.115 140.6)
XYZxyz(4.5989, 7.9050, 2.1475)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235B18 #50185B
analogous
#455B18 #235B18 #185B2E
triadic
#235B18 #18235B #5B1823
tetradic
#235B18 #18455B #50185B #5B2E18
square
#235B18 #18455B #50185B #5B2E18
split-complementary
#235B18 #2E185B #5B1845
monochromatic
#091806 #102B0B #235B18 #368B25 #48BC32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##235B18#FFFFFF#000000##FFFFFF
##235B181.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)
#5E520E
Deuteranopia (green-blind)
#564E1E
Tritanopia (blue-blind)
#1C584D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #235b18;
/* rgb */ color: rgb(35, 91, 24);
/* oklch */ color: oklch(41.8% 0.115 140.6);
Tailwind
colors: {
  custom: {
    50: '#658a59',
    500: '#235b18',
    950: '#000000',
  },
}
SCSS
$custom: #235b18;
$custom-light: #658a59;
$custom-dark: #000000;
JSON
{
  "hex": "#235b18",
  "rgb": {
    "r": 35,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 110.149,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.11472,
    "h": 140.6
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#235B18
secondary
#843D92
accent
#46E1C8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #235B18

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

Preview Lab → · Contrast checker → · Palette generator →

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