#24791B#24791B

#24791B is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.151 H 141.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#24791B
RGBrgb(36, 121, 27)
HSLhsl(114, 64%, 29%)
HSVhsv(114, 78%, 47%)
CMYKcmyk(70.2%, 0%, 77.7%, 52.5%)
CIE-LABlab(44.42, -43.48, 41.47)
CIE-LCHlch(44.42, 60.09, 136.36°)
OKLaboklab(50.65% -0.1186 0.0934)
OKLCHoklch(50.65% 0.151 141.8)
XYZxyz(7.7623, 14.1281, 3.3546)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24791B #701B79
analogous
#53791B #24791B #1B7941
triadic
#24791B #1B2479 #791B24
tetradic
#24791B #1B5379 #701B79 #79411B
square
#24791B #1B5379 #701B79 #79411B
split-complementary
#24791B #411B79 #791B53
monochromatic
#071906 #154710 #24791B #33AB26 #4AD33B

Accessibility & contrast

On white

5.49
#24791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#24791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24791B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24791B#FFFFFF#000000##FFFFFF
##24791B1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D07
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#117567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #24791b;
/* rgb */ color: rgb(36, 121, 27);
/* oklch */ color: oklch(50.7% 0.151 141.8);
Tailwind
colors: {
  custom: {
    50: '#6ca15e',
    500: '#24791b',
    950: '#000000',
  },
}
SCSS
$custom: #24791b;
$custom-light: #6ca15e;
$custom-dark: #000000;
JSON
{
  "hex": "#24791b",
  "rgb": {
    "r": 36,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 114.255,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50653,
    "c": 0.15094,
    "h": 141.8
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

primary
#24791B
secondary
#A343AD
accent
#41E7D7
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #24791B

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

Preview Lab → · Contrast checker → · Palette generator →

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