#23851F#23851F

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

Color values

HEX#23851F
RGBrgb(35, 133, 31)
HSLhsl(118, 62%, 32%)
HSVhsv(118, 77%, 52%)
CMYKcmyk(73.7%, 0%, 76.7%, 47.8%)
CIE-LABlab(48.55, -47.60, 44.09)
CIE-LCHlch(48.55, 64.88, 137.19°)
OKLaboklab(54.08% -0.1294 0.0995)
OKLCHoklch(54.08% 0.163 142.5)
XYZxyz(9.3274, 17.2303, 4.1303)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23851F #811F85
analogous
#56851F #23851F #1F854E
triadic
#23851F #1F2385 #851F23
tetradic
#23851F #1F5685 #811F85 #854E1F
square
#23851F #1F5685 #811F85 #854E1F
split-complementary
#23851F #4E1F85 #851F56
monochromatic
#092208 #165313 #23851F #30B72B #4FD54A

Accessibility & contrast

On white

4.72
#23851F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#23851F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23851F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23851F#FFFFFF#000000##FFFFFF
##23851F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#028171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #23851f;
/* rgb */ color: rgb(35, 133, 31);
/* oklch */ color: oklch(54.1% 0.163 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ea962',
    500: '#23851f',
    950: '#000000',
  },
}
SCSS
$custom: #23851f;
$custom-light: #6ea962;
$custom-dark: #000000;
JSON
{
  "hex": "#23851f",
  "rgb": {
    "r": 35,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 117.647,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.16324,
    "h": 142.5
  },
  "luminance": 0.17231
}

Semantic roles & 50–950 ramp

primary
#23851F
secondary
#B349B7
accent
#43E5DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #23851F

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

Preview Lab → · Contrast checker → · Palette generator →

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