#24811C#24811C

#24811C is a mid, vivid green. Relative luminance 0.162; OKLCH L 52.9% C 0.160 H 142.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#24811C
RGBrgb(36, 129, 28)
HSLhsl(115, 64%, 31%)
HSVhsv(115, 78%, 51%)
CMYKcmyk(72.1%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.18, -46.25, 43.84)
CIE-LCHlch(47.18, 63.73, 136.53°)
OKLaboklab(52.95% -0.126 0.0985)
OKLCHoklch(52.95% 0.16 142)
XYZxyz(8.7869, 16.1585, 3.7542)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24811C #791C81
analogous
#56811C #24811C #1C8147
triadic
#24811C #1C2481 #811C24
tetradic
#24811C #1C5681 #791C81 #81471C
square
#24811C #1C5681 #791C81 #81471C
split-complementary
#24811C #471C81 #811C56
monochromatic
#081C06 #164F11 #24811C #32B327 #4DD642

Accessibility & contrast

On white

4.96
#24811C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#24811C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24811C
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24811C#FFFFFF#000000##FFFFFF
##24811C1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847405
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#0B7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #24811c;
/* rgb */ color: rgb(36, 129, 28);
/* oklch */ color: oklch(52.9% 0.160 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ea760',
    500: '#24811c',
    950: '#000000',
  },
}
SCSS
$custom: #24811c;
$custom-light: #6ea760;
$custom-dark: #000000;
JSON
{
  "hex": "#24811c",
  "rgb": {
    "r": 36,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 115.248,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52949,
    "c": 0.15993,
    "h": 142
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#24811C
secondary
#AC44B4
accent
#40E7DA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #24811C

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

Preview Lab → · Contrast checker → · Palette generator →

#24811C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva