#24712F#24712F

#24712F is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.125 H 145.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#24712F
RGBrgb(36, 113, 47)
HSLhsl(129, 52%, 29%)
HSVhsv(129, 68%, 44%)
CMYKcmyk(68.1%, 0%, 58.4%, 55.7%)
CIE-LABlab(41.83, -38.24, 29.53)
CIE-LCHlch(41.83, 48.31, 142.32°)
OKLaboklab(48.57% -0.1033 0.0704)
OKLCHoklch(48.57% 0.125 145.8)
XYZxyz(7.1453, 12.3898, 4.7037)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24712F #712466
analogous
#407124 #24712F #247156
triadic
#24712F #2F2471 #712F24
tetradic
#24712F #244071 #712466 #715624
square
#24712F #244071 #712466 #715624
split-complementary
#24712F #562471 #712440
monochromatic
#07170A #15431C #24712F #339F42 #4AC55C

Accessibility & contrast

On white

6.04
#24712F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#24712F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24712F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24712F#FFFFFF#000000##FFFFFF
##24712F1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#0E6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #24712f;
/* rgb */ color: rgb(36, 113, 47);
/* oklch */ color: oklch(48.6% 0.125 145.8);
Tailwind
colors: {
  custom: {
    50: '#699b69',
    500: '#24712f',
    950: '#000000',
  },
}
SCSS
$custom: #24712f;
$custom-light: #699b69;
$custom-dark: #000000;
JSON
{
  "hex": "#24712f",
  "rgb": {
    "r": 36,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 128.571,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.12503,
    "h": 145.8
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#24712F
secondary
#A44D98
accent
#4DC7DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #24712F

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

Preview Lab → · Contrast checker → · Palette generator →

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