#24702F#24702F

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

Color values

HEX#24702F
RGBrgb(36, 112, 47)
HSLhsl(129, 51%, 29%)
HSVhsv(129, 68%, 44%)
CMYKcmyk(67.9%, 0%, 58%, 56.1%)
CIE-LABlab(41.48, -37.84, 29.11)
CIE-LCHlch(41.48, 47.75, 142.43°)
OKLaboklab(48.29% -0.1023 0.0695)
OKLCHoklch(48.29% 0.124 145.8)
XYZxyz(7.0343, 12.1679, 4.6667)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24702F #702465
analogous
#3F7024 #24702F #247055
triadic
#24702F #2F2470 #702F24
tetradic
#24702F #243F70 #702465 #705524
square
#24702F #243F70 #702465 #705524
split-complementary
#24702F #552470 #70243F
monochromatic
#07170A #15421C #24702F #339E42 #4AC55B

Accessibility & contrast

On white

6.12
#24702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#24702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24702F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24702F#FFFFFF#000000##FFFFFF
##24702F1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#0F6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #24702f;
/* rgb */ color: rgb(36, 112, 47);
/* oklch */ color: oklch(48.3% 0.124 145.8);
Tailwind
colors: {
  custom: {
    50: '#699a69',
    500: '#24702f',
    950: '#000000',
  },
}
SCSS
$custom: #24702f;
$custom-light: #699a69;
$custom-dark: #000000;
JSON
{
  "hex": "#24702f",
  "rgb": {
    "r": 36,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 128.684,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48285,
    "c": 0.12364,
    "h": 145.8
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

primary
#24702F
secondary
#A34D97
accent
#4DC6DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #24702F

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

Preview Lab → · Contrast checker → · Palette generator →

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