#23831B#23831B

#23831B is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.163 H 142.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#23831B
RGBrgb(35, 131, 27)
HSLhsl(115, 66%, 31%)
HSVhsv(115, 79%, 51%)
CMYKcmyk(73.3%, 0%, 79.4%, 48.6%)
CIE-LABlab(47.84, -47.22, 44.83)
CIE-LCHlch(47.84, 65.11, 136.49°)
OKLaboklab(53.49% -0.1286 0.1004)
OKLCHoklch(53.49% 0.163 142)
XYZxyz(9.0067, 16.6681, 3.7793)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23831B #7B1B83
analogous
#57831B #23831B #1B8347
triadic
#23831B #1B2383 #831B23
tetradic
#23831B #1B5783 #7B1B83 #83471B
square
#23831B #1B5783 #7B1B83 #83471B
split-complementary
#23831B #471B83 #831B57
monochromatic
#081E06 #155011 #23831B #31B625 #4CD841

Accessibility & contrast

On white

4.85
#23831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#23831B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23831B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23831B#FFFFFF#000000##FFFFFF
##23831B1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#067F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #23831b;
/* rgb */ color: rgb(35, 131, 27);
/* oklch */ color: oklch(53.5% 0.163 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ea860',
    500: '#23831b',
    950: '#000000',
  },
}
SCSS
$custom: #23831b;
$custom-light: #6ea860;
$custom-dark: #000000;
JSON
{
  "hex": "#23831b",
  "rgb": {
    "r": 35,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 115.385,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53486,
    "c": 0.16317,
    "h": 142
  },
  "luminance": 0.16669
}

Semantic roles & 50–950 ramp

primary
#23831B
secondary
#AE43B6
accent
#3FE9DC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #23831B

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

Preview Lab → · Contrast checker → · Palette generator →

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