#23841C#23841C

#23841C is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.164 H 142.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#23841C
RGBrgb(35, 132, 28)
HSLhsl(116, 65%, 31%)
HSVhsv(116, 79%, 52%)
CMYKcmyk(73.5%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.19, -47.49, 44.82)
CIE-LCHlch(48.19, 65.30, 136.66°)
OKLaboklab(53.78% -0.1293 0.1006)
OKLCHoklch(53.78% 0.164 142.1)
XYZxyz(9.1535, 16.9427, 3.8862)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23841C #7D1C84
analogous
#57841C #23841C #1C8449
triadic
#23841C #1C2384 #841C23
tetradic
#23841C #1C5784 #7D1C84 #84491C
square
#23841C #1C5784 #7D1C84 #84491C
split-complementary
#23841C #491C84 #841C57
monochromatic
#081F07 #165211 #23841C #30B627 #4DD743

Accessibility & contrast

On white

4.78
#23841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#23841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23841C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23841C#FFFFFF#000000##FFFFFF
##23841C1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#048070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #23841c;
/* rgb */ color: rgb(35, 132, 28);
/* oklch */ color: oklch(53.8% 0.164 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ea960',
    500: '#23841c',
    950: '#000000',
  },
}
SCSS
$custom: #23841c;
$custom-light: #6ea960;
$custom-dark: #000000;
JSON
{
  "hex": "#23841c",
  "rgb": {
    "r": 35,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 115.962,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53777,
    "c": 0.16378,
    "h": 142.1
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#23841C
secondary
#AF45B7
accent
#40E8DD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #23841C

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

Preview Lab → · Contrast checker → · Palette generator →

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