#23831F#23831F

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

Color values

HEX#23831F
RGBrgb(35, 131, 31)
HSLhsl(118, 62%, 32%)
HSVhsv(118, 76%, 51%)
CMYKcmyk(73.3%, 0%, 76.3%, 48.6%)
CIE-LABlab(47.86, -46.91, 43.40)
CIE-LCHlch(47.86, 63.91, 137.22°)
OKLaboklab(53.52% -0.1275 0.098)
OKLCHoklch(53.52% 0.161 142.5)
XYZxyz(9.0562, 16.6879, 4.0399)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23831F #7F1F83
analogous
#55831F #23831F #1F834D
triadic
#23831F #1F2383 #831F23
tetradic
#23831F #1F5583 #7F1F83 #834D1F
square
#23831F #1F5583 #7F1F83 #834D1F
split-complementary
#23831F #4D1F83 #831F55
monochromatic
#092008 #165213 #23831F #30B42B #4ED449

Accessibility & contrast

On white

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

On black

4.34
#23831F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##23831F#FFFFFF#000000##FFFFFF
##23831F1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#047F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #23831f;
/* rgb */ color: rgb(35, 131, 31);
/* oklch */ color: oklch(53.5% 0.161 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ea862',
    500: '#23831f',
    950: '#000000',
  },
}
SCSS
$custom: #23831f;
$custom-light: #6ea862;
$custom-dark: #000000;
JSON
{
  "hex": "#23831f",
  "rgb": {
    "r": 35,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 117.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53515,
    "c": 0.16088,
    "h": 142.5
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#23831F
secondary
#B148B6
accent
#43E5DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #23831F

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

Preview Lab → · Contrast checker → · Palette generator →

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