#23981F#23981F

#23981F is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.4% C 0.185 H 142.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#23981F
RGBrgb(35, 152, 31)
HSLhsl(118, 66%, 36%)
HSVhsv(118, 80%, 60%)
CMYKcmyk(77%, 0%, 79.6%, 40.4%)
CIE-LABlab(54.98, -53.95, 50.39)
CIE-LCHlch(54.98, 73.83, 136.95°)
OKLaboklab(59.43% -0.1466 0.1126)
OKLCHoklch(59.43% 0.185 142.5)
XYZxyz(12.1680, 22.9113, 5.0771)
Luminance0.2291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23981F #941F98
analogous
#5F981F #23981F #1F9858
triadic
#23981F #1F2398 #981F23
tetradic
#23981F #1F5F98 #941F98 #98581F
square
#23981F #1F5F98 #941F98 #98581F
split-complementary
#23981F #581F98 #981F5F
monochromatic
#0C320A #176515 #23981F #2FCB29 #5ADC55

Accessibility & contrast

On white

3.76
#23981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#23981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #23981F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23981F#FFFFFF#000000##000000
##23981F1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #23981f;
/* rgb */ color: rgb(35, 152, 31);
/* oklch */ color: oklch(59.4% 0.185 142.5);
Tailwind
colors: {
  custom: {
    50: '#73b765',
    500: '#23981f',
    950: '#000000',
  },
}
SCSS
$custom: #23981f;
$custom-light: #73b765;
$custom-dark: #000000;
JSON
{
  "hex": "#23981f",
  "rgb": {
    "r": 35,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 118.017,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59426,
    "c": 0.1849,
    "h": 142.5
  },
  "luminance": 0.22913
}

Semantic roles & 50–950 ramp

primary
#23981F
secondary
#BC53C0
accent
#3FE9E3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #23981F

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

Preview Lab → · Contrast checker → · Palette generator →

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