#23831C#23831C

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

Color values

HEX#23831C
RGBrgb(35, 131, 28)
HSLhsl(116, 65%, 31%)
HSVhsv(116, 79%, 51%)
CMYKcmyk(73.3%, 0%, 78.6%, 48.6%)
CIE-LABlab(47.85, -47.14, 44.48)
CIE-LCHlch(47.85, 64.82, 136.66°)
OKLaboklab(53.49% -0.1283 0.0999)
OKLCHoklch(53.49% 0.163 142.1)
XYZxyz(9.0185, 16.6728, 3.8413)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23831C #7C1C83
analogous
#56831C #23831C #1C8348
triadic
#23831C #1C2383 #831C23
tetradic
#23831C #1C5683 #7C1C83 #83481C
square
#23831C #1C5683 #7C1C83 #83481C
split-complementary
#23831C #481C83 #831C56
monochromatic
#081E06 #165111 #23831C #30B527 #4DD743

Accessibility & contrast

On white

4.84
#23831C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #23831C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23831C#FFFFFF#000000##FFFFFF
##23831C1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#057F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #23831c;
/* rgb */ color: rgb(35, 131, 28);
/* oklch */ color: oklch(53.5% 0.163 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ea860',
    500: '#23831c',
    950: '#000000',
  },
}
SCSS
$custom: #23831c;
$custom-light: #6ea860;
$custom-dark: #000000;
JSON
{
  "hex": "#23831c",
  "rgb": {
    "r": 35,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 115.922,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53492,
    "c": 0.16261,
    "h": 142.1
  },
  "luminance": 0.16674
}

Semantic roles & 50–950 ramp

primary
#23831C
secondary
#AF45B6
accent
#40E8DC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #23831C

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

Preview Lab → · Contrast checker → · Palette generator →

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