#235F1B#235F1B

#235F1B is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.118 H 141.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#235F1B
RGBrgb(35, 95, 27)
HSLhsl(113, 56%, 24%)
HSVhsv(113, 72%, 37%)
CMYKcmyk(63.2%, 0%, 71.6%, 62.7%)
CIE-LABlab(35.24, -33.74, 31.98)
CIE-LCHlch(35.24, 46.49, 136.54°)
OKLaboklab(43.05% -0.0921 0.0736)
OKLCHoklch(43.05% 0.118 141.4)
XYZxyz(4.9829, 8.6204, 2.4380)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235F1B #571B5F
analogous
#455F1B #235F1B #1B5F35
triadic
#235F1B #1B235F #5F1B23
tetradic
#235F1B #1B455F #571B5F #5F351B
square
#235F1B #1B455F #571B5F #5F351B
split-complementary
#235F1B #351B5F #5F1B45
monochromatic
#091807 #112F0D #235F1B #358F29 #46BE36

Accessibility & contrast

On white

7.71
#235F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #235F1B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235F1B#FFFFFF#000000##FFFFFF
##235F1B1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615612
Deuteranopia (green-blind)
#5A5121
Tritanopia (blue-blind)
#1A5C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #235f1b;
/* rgb */ color: rgb(35, 95, 27);
/* oklch */ color: oklch(43.1% 0.118 141.4);
Tailwind
colors: {
  custom: {
    50: '#668d5b',
    500: '#235f1b',
    950: '#000000',
  },
}
SCSS
$custom: #235f1b;
$custom-light: #668d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#235f1b",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 112.941,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43054,
    "c": 0.11791,
    "h": 141.4
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #235F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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