#24851F#24851F

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

Color values

HEX#24851F
RGBrgb(36, 133, 31)
HSLhsl(117, 62%, 32%)
HSVhsv(117, 77%, 52%)
CMYKcmyk(72.9%, 0%, 76.7%, 47.8%)
CIE-LABlab(48.57, -47.41, 44.12)
CIE-LCHlch(48.57, 64.77, 137.06°)
OKLaboklab(54.11% -0.129 0.0995)
OKLCHoklch(54.11% 0.163 142.3)
XYZxyz(9.3619, 17.2480, 4.1319)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24851F #801F85
analogous
#57851F #24851F #1F854D
triadic
#24851F #1F2485 #851F24
tetradic
#24851F #1F5785 #801F85 #854D1F
square
#24851F #1F5785 #801F85 #854D1F
split-complementary
#24851F #4D1F85 #851F57
monochromatic
#092208 #175313 #24851F #31B72B #50D54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24851F#FFFFFF#000000##FFFFFF
##24851F1.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)
#068171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #24851f;
/* rgb */ color: rgb(36, 133, 31);
/* oklch */ color: oklch(54.1% 0.163 142.3);
Tailwind
colors: {
  custom: {
    50: '#6fa962',
    500: '#24851f',
    950: '#000000',
  },
}
SCSS
$custom: #24851f;
$custom-light: #6fa962;
$custom-dark: #000000;
JSON
{
  "hex": "#24851f",
  "rgb": {
    "r": 36,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 117.059,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54108,
    "c": 0.16292,
    "h": 142.3
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#24851F
secondary
#B249B7
accent
#43E5DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #24851F

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

Preview Lab → · Contrast checker → · Palette generator →

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