#23811C#23811C

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

Color values

HEX#23811C
RGBrgb(35, 129, 28)
HSLhsl(116, 64%, 31%)
HSVhsv(116, 78%, 51%)
CMYKcmyk(72.9%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.16, -46.45, 43.81)
CIE-LCHlch(47.16, 63.85, 136.67°)
OKLaboklab(52.92% -0.1265 0.0985)
OKLCHoklch(52.92% 0.16 142.1)
XYZxyz(8.7525, 16.1407, 3.7526)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23811C #7A1C81
analogous
#55811C #23811C #1C8147
triadic
#23811C #1C2381 #811C23
tetradic
#23811C #1C5581 #7A1C81 #81471C
square
#23811C #1C5581 #7A1C81 #81471C
split-complementary
#23811C #471C81 #811C55
monochromatic
#081C06 #154F11 #23811C #31B327 #4CD642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23811C#FFFFFF#000000##FFFFFF
##23811C1.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)
#847405
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#077D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #23811c;
/* rgb */ color: rgb(35, 129, 28);
/* oklch */ color: oklch(52.9% 0.160 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ea760',
    500: '#23811c',
    950: '#000000',
  },
}
SCSS
$custom: #23811c;
$custom-light: #6ea760;
$custom-dark: #000000;
JSON
{
  "hex": "#23811c",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 115.842,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.16027,
    "h": 142.1
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#23811C
secondary
#AD44B4
accent
#40E7DC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #23811C

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

Preview Lab → · Contrast checker → · Palette generator →

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