#23811B#23811B

#23811B is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.161 H 142.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#23811B
RGBrgb(35, 129, 27)
HSLhsl(115, 65%, 31%)
HSVhsv(115, 79%, 51%)
CMYKcmyk(72.9%, 0%, 79.1%, 49.4%)
CIE-LABlab(47.15, -46.52, 44.16)
CIE-LCHlch(47.15, 64.14, 136.49°)
OKLaboklab(52.92% -0.1267 0.099)
OKLCHoklch(52.92% 0.161 142)
XYZxyz(8.7407, 16.1360, 3.6906)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23811B #791B81
analogous
#56811B #23811B #1B8146
triadic
#23811B #1B2381 #811B23
tetradic
#23811B #1B5681 #791B81 #81461B
square
#23811B #1B5681 #791B81 #81461B
split-complementary
#23811B #461B81 #811B56
monochromatic
#081C06 #154E10 #23811B #31B426 #4BD73F

Accessibility & contrast

On white

4.97
#23811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#23811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23811B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23811B#FFFFFF#000000##FFFFFF
##23811B1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847403
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#087D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #23811b;
/* rgb */ color: rgb(35, 129, 27);
/* oklch */ color: oklch(52.9% 0.161 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ea760',
    500: '#23811b',
    950: '#000000',
  },
}
SCSS
$custom: #23811b;
$custom-light: #6ea760;
$custom-dark: #000000;
JSON
{
  "hex": "#23811b",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 115.294,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.16082,
    "h": 142
  },
  "luminance": 0.16137
}

Semantic roles & 50–950 ramp

primary
#23811B
secondary
#AC43B5
accent
#3FE8DB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #23811B

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

Preview Lab → · Contrast checker → · Palette generator →

#23811B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva