#23821B#23821B

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

Color values

HEX#23821B
RGBrgb(35, 130, 27)
HSLhsl(115, 66%, 31%)
HSVhsv(115, 79%, 51%)
CMYKcmyk(73.1%, 0%, 79.2%, 49%)
CIE-LABlab(47.50, -46.87, 44.49)
CIE-LCHlch(47.50, 64.62, 136.49°)
OKLaboklab(53.2% -0.1277 0.0997)
OKLCHoklch(53.2% 0.162 142)
XYZxyz(8.8731, 16.4007, 3.7347)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23821B #7A1B82
analogous
#56821B #23821B #1B8246
triadic
#23821B #1B2382 #821B23
tetradic
#23821B #1B5682 #7A1B82 #82461B
square
#23821B #1B5682 #7A1B82 #82461B
split-complementary
#23821B #461B82 #821B56
monochromatic
#081D06 #154F10 #23821B #31B526 #4CD740

Accessibility & contrast

On white

4.91
#23821B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#23821B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23821B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23821B#FFFFFF#000000##FFFFFF
##23821B1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857502
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#077E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #23821b;
/* rgb */ color: rgb(35, 130, 27);
/* oklch */ color: oklch(53.2% 0.162 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ea760',
    500: '#23821b',
    950: '#000000',
  },
}
SCSS
$custom: #23821b;
$custom-light: #6ea760;
$custom-dark: #000000;
JSON
{
  "hex": "#23821b",
  "rgb": {
    "r": 35,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 115.34,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53201,
    "c": 0.162,
    "h": 142
  },
  "luminance": 0.16402
}

Semantic roles & 50–950 ramp

primary
#23821B
secondary
#AD43B6
accent
#3FE9DB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #23821B

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

Preview Lab → · Contrast checker → · Palette generator →

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