#24702D#24702D

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

Color values

HEX#24702D
RGBrgb(36, 112, 45)
HSLhsl(127, 51%, 29%)
HSVhsv(127, 68%, 44%)
CMYKcmyk(67.9%, 0%, 59.8%, 56.1%)
CIE-LABlab(41.46, -38.13, 30.13)
CIE-LCHlch(41.46, 48.59, 141.69°)
OKLaboklab(48.26% -0.1031 0.0715)
OKLCHoklch(48.26% 0.125 145.3)
XYZxyz(6.9949, 12.1522, 4.4591)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24702D #702467
analogous
#417024 #24702D #247053
triadic
#24702D #2D2470 #702D24
tetradic
#24702D #244170 #702467 #705324
square
#24702D #244170 #702467 #705324
split-complementary
#24702D #532470 #702441
monochromatic
#071709 #15421A #24702D #339E40 #4AC558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24702D#FFFFFF#000000##FFFFFF
##24702D1.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)
#726626
Deuteranopia (green-blind)
#695F32
Tritanopia (blue-blind)
#106D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #24702d;
/* rgb */ color: rgb(36, 112, 45);
/* oklch */ color: oklch(48.3% 0.125 145.3);
Tailwind
colors: {
  custom: {
    50: '#699a68',
    500: '#24702d',
    950: '#000000',
  },
}
SCSS
$custom: #24702d;
$custom-light: #699a68;
$custom-dark: #000000;
JSON
{
  "hex": "#24702d",
  "rgb": {
    "r": 36,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 127.105,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48257,
    "c": 0.12548,
    "h": 145.3
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#24702D
secondary
#A34D99
accent
#4DCADB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #24702D

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

Preview Lab → · Contrast checker → · Palette generator →

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