#235E1B#235E1B

#235E1B is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.8% C 0.117 H 141.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#235E1B
RGBrgb(35, 94, 27)
HSLhsl(113, 55%, 24%)
HSVhsv(113, 71%, 37%)
CMYKcmyk(62.8%, 0%, 71.3%, 63.1%)
CIE-LABlab(34.89, -33.33, 31.59)
CIE-LCHlch(34.89, 45.92, 136.53°)
OKLaboklab(42.76% -0.091 0.0728)
OKLCHoklch(42.76% 0.117 141.4)
XYZxyz(4.8934, 8.4414, 2.4082)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235E1B #561B5E
analogous
#445E1B #235E1B #1B5E34
triadic
#235E1B #1B235E #5E1B23
tetradic
#235E1B #1B445E #561B5E #5E341B
square
#235E1B #1B445E #561B5E #5E341B
split-complementary
#235E1B #341B5E #5E1B44
monochromatic
#091807 #112E0D #235E1B #358E29 #46BD36

Accessibility & contrast

On white

7.81
#235E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#235E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235E1B
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235E1B#FFFFFF#000000##FFFFFF
##235E1B1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605512
Deuteranopia (green-blind)
#595021
Tritanopia (blue-blind)
#1A5B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #235e1b;
/* rgb */ color: rgb(35, 94, 27);
/* oklch */ color: oklch(42.8% 0.117 141.4);
Tailwind
colors: {
  custom: {
    50: '#668c5b',
    500: '#235e1b',
    950: '#000000',
  },
}
SCSS
$custom: #235e1b;
$custom-light: #668c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#235e1b",
  "rgb": {
    "r": 35,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 112.836,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.42759,
    "c": 0.11652,
    "h": 141.4
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#235E1B
secondary
#8A4194
accent
#49DFCD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #235E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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