#24781B#24781B

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

Color values

HEX#24781B
RGBrgb(36, 120, 27)
HSLhsl(114, 63%, 29%)
HSVhsv(114, 78%, 47%)
CMYKcmyk(70%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.07, -43.12, 41.12)
CIE-LCHlch(44.07, 59.59, 136.36°)
OKLaboklab(50.37% -0.1176 0.0927)
OKLCHoklch(50.37% 0.15 141.7)
XYZxyz(7.6414, 13.8863, 3.3143)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24781B #6F1B78
analogous
#53781B #24781B #1B7841
triadic
#24781B #1B2478 #781B24
tetradic
#24781B #1B5378 #6F1B78 #78411B
square
#24781B #1B5378 #6F1B78 #78411B
split-complementary
#24781B #411B78 #781B53
monochromatic
#071906 #154610 #24781B #33AA26 #49D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24781B#FFFFFF#000000##FFFFFF
##24781B1.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)
#7B6C08
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#117466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #24781b;
/* rgb */ color: rgb(36, 120, 27);
/* oklch */ color: oklch(50.4% 0.150 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ca05e',
    500: '#24781b',
    950: '#000000',
  },
}
SCSS
$custom: #24781b;
$custom-light: #6ca05e;
$custom-dark: #000000;
JSON
{
  "hex": "#24781b",
  "rgb": {
    "r": 36,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 114.194,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50365,
    "c": 0.14973,
    "h": 141.7
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#24781B
secondary
#A243AC
accent
#41E6D6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #24781B

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

Preview Lab → · Contrast checker → · Palette generator →

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