#24801C#24801C

#24801C is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.159 H 142.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#24801C
RGBrgb(36, 128, 28)
HSLhsl(115, 64%, 31%)
HSVhsv(115, 78%, 50%)
CMYKcmyk(71.9%, 0%, 78.1%, 49.8%)
CIE-LABlab(46.84, -45.90, 43.50)
CIE-LCHlch(46.84, 63.24, 136.54°)
OKLaboklab(52.66% -0.125 0.0978)
OKLCHoklch(52.66% 0.159 142)
XYZxyz(8.6558, 15.8963, 3.7105)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24801C #781C80
analogous
#56801C #24801C #1C8046
triadic
#24801C #1C2480 #801C24
tetradic
#24801C #1C5680 #781C80 #80461C
square
#24801C #1C5680 #781C80 #80461C
split-complementary
#24801C #461C80 #801C56
monochromatic
#081C06 #164E11 #24801C #32B227 #4DD541

Accessibility & contrast

On white

5.02
#24801C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#24801C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24801C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24801C#FFFFFF#000000##FFFFFF
##24801C1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837306
Deuteranopia (green-blind)
#796C27
Tritanopia (blue-blind)
#0B7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #24801c;
/* rgb */ color: rgb(36, 128, 28);
/* oklch */ color: oklch(52.7% 0.159 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ea660',
    500: '#24801c',
    950: '#000000',
  },
}
SCSS
$custom: #24801c;
$custom-light: #6ea660;
$custom-dark: #000000;
JSON
{
  "hex": "#24801c",
  "rgb": {
    "r": 36,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 115.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52663,
    "c": 0.15874,
    "h": 142
  },
  "luminance": 0.15897
}

Semantic roles & 50–950 ramp

primary
#24801C
secondary
#AB44B3
accent
#41E7DA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #24801C

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

Preview Lab → · Contrast checker → · Palette generator →

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