#24851B#24851B

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

Color values

HEX#24851B
RGBrgb(36, 133, 27)
HSLhsl(115, 66%, 31%)
HSVhsv(115, 80%, 52%)
CMYKcmyk(72.9%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.55, -47.71, 45.52)
CIE-LCHlch(48.55, 65.95, 136.35°)
OKLaboklab(54.08% -0.13 0.1019)
OKLCHoklch(54.08% 0.165 141.9)
XYZxyz(9.3124, 17.2282, 3.8713)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24851B #7C1B85
analogous
#59851B #24851B #1B8547
triadic
#24851B #1B2485 #851B24
tetradic
#24851B #1B5985 #7C1B85 #85471B
square
#24851B #1B5985 #7C1B85 #85471B
split-complementary
#24851B #471B85 #851B59
monochromatic
#081F06 #165211 #24851B #32B825 #4FD942

Accessibility & contrast

On white

4.72
#24851B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#24851B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24851B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24851B#FFFFFF#000000##FFFFFF
##24851B1.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)
#887801
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#078171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #24851b;
/* rgb */ color: rgb(36, 133, 27);
/* oklch */ color: oklch(54.1% 0.165 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fa960',
    500: '#24851b',
    950: '#000000',
  },
}
SCSS
$custom: #24851b;
$custom-light: #6fa960;
$custom-dark: #000000;
JSON
{
  "hex": "#24851b",
  "rgb": {
    "r": 36,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 114.906,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.16516,
    "h": 141.9
  },
  "luminance": 0.17229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24851B

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

Preview Lab → · Contrast checker → · Palette generator →

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