#23851B#23851B

#23851B is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.165 H 142.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#23851B
RGBrgb(35, 133, 27)
HSLhsl(115, 66%, 31%)
HSVhsv(115, 80%, 52%)
CMYKcmyk(73.7%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.52, -47.90, 45.49)
CIE-LCHlch(48.52, 66.06, 136.48°)
OKLaboklab(54.05% -0.1304 0.1018)
OKLCHoklch(54.05% 0.165 142)
XYZxyz(9.2780, 17.2105, 3.8697)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23851B #7D1B85
analogous
#58851B #23851B #1B8548
triadic
#23851B #1B2385 #851B23
tetradic
#23851B #1B5885 #7D1B85 #85481B
square
#23851B #1B5885 #7D1B85 #85481B
split-complementary
#23851B #481B85 #851B58
monochromatic
#081F06 #165211 #23851B #30B825 #4DD942

Accessibility & contrast

On white

4.73
#23851B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#23851B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23851B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23851B#FFFFFF#000000##FFFFFF
##23851B1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#048171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #23851b;
/* rgb */ color: rgb(35, 133, 27);
/* oklch */ color: oklch(54.1% 0.165 142.0);
Tailwind
colors: {
  custom: {
    50: '#6fa960',
    500: '#23851b',
    950: '#000000',
  },
}
SCSS
$custom: #23851b;
$custom-light: #6fa960;
$custom-dark: #000000;
JSON
{
  "hex": "#23851b",
  "rgb": {
    "r": 35,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 115.472,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54054,
    "c": 0.16548,
    "h": 142
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23851B

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

Preview Lab → · Contrast checker → · Palette generator →

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