#23841B#23841B

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

Color values

HEX#23841B
RGBrgb(35, 132, 27)
HSLhsl(115, 66%, 31%)
HSVhsv(115, 80%, 52%)
CMYKcmyk(73.5%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.18, -47.56, 45.16)
CIE-LCHlch(48.18, 65.58, 136.48°)
OKLaboklab(53.77% -0.1295 0.1011)
OKLCHoklch(53.77% 0.164 142)
XYZxyz(9.1417, 16.9380, 3.8243)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23841B #7C1B84
analogous
#57841B #23841B #1B8447
triadic
#23841B #1B2384 #841B23
tetradic
#23841B #1B5784 #7C1B84 #84471B
square
#23841B #1B5784 #7C1B84 #84471B
split-complementary
#23841B #471B84 #841B57
monochromatic
#081E06 #165111 #23841B #30B725 #4DD841

Accessibility & contrast

On white

4.79
#23841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #23841B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23841B#FFFFFF#000000##FFFFFF
##23841B1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#058070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #23841b;
/* rgb */ color: rgb(35, 132, 27);
/* oklch */ color: oklch(53.8% 0.164 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ea960',
    500: '#23841b',
    950: '#000000',
  },
}
SCSS
$custom: #23841b;
$custom-light: #6ea960;
$custom-dark: #000000;
JSON
{
  "hex": "#23841b",
  "rgb": {
    "r": 35,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 115.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.16433,
    "h": 142
  },
  "luminance": 0.16939
}

Semantic roles & 50–950 ramp

primary
#23841B
secondary
#AF43B7
accent
#3FE9DC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #23841B

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

Preview Lab → · Contrast checker → · Palette generator →

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