#24781C#24781C

#24781C is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.149 H 141.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#24781C
RGBrgb(36, 120, 28)
HSLhsl(115, 62%, 29%)
HSVhsv(115, 77%, 47%)
CMYKcmyk(70%, 0%, 76.7%, 52.9%)
CIE-LABlab(44.08, -43.04, 40.75)
CIE-LCHlch(44.08, 59.27, 136.57°)
OKLaboklab(50.37% -0.1173 0.0921)
OKLCHoklch(50.37% 0.149 141.9)
XYZxyz(7.6532, 13.8911, 3.3763)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24781C #701C78
analogous
#52781C #24781C #1C7842
triadic
#24781C #1C2478 #781C24
tetradic
#24781C #1C5278 #701C78 #78421C
square
#24781C #1C5278 #701C78 #78421C
split-complementary
#24781C #421C78 #781C52
monochromatic
#071906 #154610 #24781C #33AA28 #4AD23D

Accessibility & contrast

On white

5.56
#24781C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#24781C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24781C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24781C#FFFFFF#000000##FFFFFF
##24781C1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0A
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#117466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #24781c;
/* rgb */ color: rgb(36, 120, 28);
/* oklch */ color: oklch(50.4% 0.149 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ca05f',
    500: '#24781c',
    950: '#000000',
  },
}
SCSS
$custom: #24781c;
$custom-light: #6ca05f;
$custom-dark: #000000;
JSON
{
  "hex": "#24781c",
  "rgb": {
    "r": 36,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 114.783,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50373,
    "c": 0.14911,
    "h": 141.9
  },
  "luminance": 0.13892
}

Semantic roles & 50–950 ramp

primary
#24781C
secondary
#A344AC
accent
#43E5D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #24781C

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

Preview Lab → · Contrast checker → · Palette generator →

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