#24781F#24781F

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

Color values

HEX#24781F
RGBrgb(36, 120, 31)
HSLhsl(117, 59%, 30%)
HSVhsv(117, 74%, 47%)
CMYKcmyk(70%, 0%, 74.2%, 52.9%)
CIE-LABlab(44.10, -42.78, 39.58)
CIE-LCHlch(44.10, 58.28, 137.23°)
OKLaboklab(50.4% -0.1164 0.09)
OKLCHoklch(50.4% 0.147 142.3)
XYZxyz(7.6909, 13.9061, 3.5749)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24781F #731F78
analogous
#51781F #24781F #1F7847
triadic
#24781F #1F2478 #781F24
tetradic
#24781F #1F5178 #731F78 #78471F
square
#24781F #1F5178 #731F78 #78471F
split-complementary
#24781F #471F78 #781F51
monochromatic
#071806 #154712 #24781F #33A92C #4BCE43

Accessibility & contrast

On white

5.55
#24781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #24781F
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24781F#FFFFFF#000000##FFFFFF
##24781F1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C10
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#107466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #24781f;
/* rgb */ color: rgb(36, 120, 31);
/* oklch */ color: oklch(50.4% 0.147 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ca060',
    500: '#24781f',
    950: '#000000',
  },
}
SCSS
$custom: #24781f;
$custom-light: #6ca060;
$custom-dark: #000000;
JSON
{
  "hex": "#24781f",
  "rgb": {
    "r": 36,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 116.629,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50398,
    "c": 0.14718,
    "h": 142.3
  },
  "luminance": 0.13907
}

Semantic roles & 50–950 ramp

primary
#24781F
secondary
#A647AB
accent
#46E2D9
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #24781F

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

Preview Lab → · Contrast checker → · Palette generator →

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