#24791C#24791C

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

Color values

HEX#24791C
RGBrgb(36, 121, 28)
HSLhsl(115, 62%, 29%)
HSVhsv(115, 77%, 47%)
CMYKcmyk(70.2%, 0%, 76.9%, 52.5%)
CIE-LABlab(44.42, -43.40, 41.09)
CIE-LCHlch(44.42, 59.77, 136.56°)
OKLaboklab(50.66% -0.1183 0.0928)
OKLCHoklch(50.66% 0.15 141.9)
XYZxyz(7.7741, 14.1328, 3.4166)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24791C #711C79
analogous
#53791C #24791C #1C7943
triadic
#24791C #1C2479 #791C24
tetradic
#24791C #1C5379 #711C79 #79431C
square
#24791C #1C5379 #711C79 #79431C
split-complementary
#24791C #431C79 #791C53
monochromatic
#071906 #154710 #24791C #33AB28 #4AD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24791C#FFFFFF#000000##FFFFFF
##24791C1.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)
#7C6D0A
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#117567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #24791c;
/* rgb */ color: rgb(36, 121, 28);
/* oklch */ color: oklch(50.7% 0.150 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ca15f',
    500: '#24791c',
    950: '#000000',
  },
}
SCSS
$custom: #24791c;
$custom-light: #6ca15f;
$custom-dark: #000000;
JSON
{
  "hex": "#24791c",
  "rgb": {
    "r": 36,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 114.839,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5066,
    "c": 0.15033,
    "h": 141.9
  },
  "luminance": 0.14134
}

Semantic roles & 50–950 ramp

primary
#24791C
secondary
#A444AD
accent
#42E5D7
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #24791C

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

Preview Lab → · Contrast checker → · Palette generator →

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