#24702C#24702C

#24702C is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.126 H 145.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#24702C
RGBrgb(36, 112, 44)
HSLhsl(126, 51%, 29%)
HSVhsv(126, 68%, 44%)
CMYKcmyk(67.9%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.44, -38.26, 30.63)
CIE-LCHlch(41.44, 49.01, 141.33°)
OKLaboklab(48.24% -0.1035 0.0725)
OKLCHoklch(48.24% 0.126 145)
XYZxyz(6.9759, 12.1445, 4.3589)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24702C #702468
analogous
#427024 #24702C #247052
triadic
#24702C #2C2470 #702C24
tetradic
#24702C #244270 #702468 #705224
square
#24702C #244270 #702468 #705224
split-complementary
#24702C #522470 #702442
monochromatic
#071709 #15421A #24702C #339E3E #4AC557

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24702C#FFFFFF#000000##FFFFFF
##24702C1.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)
#726625
Deuteranopia (green-blind)
#695F31
Tritanopia (blue-blind)
#106D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #24702c;
/* rgb */ color: rgb(36, 112, 44);
/* oklch */ color: oklch(48.2% 0.126 145.0);
Tailwind
colors: {
  custom: {
    50: '#699a67',
    500: '#24702c',
    950: '#000000',
  },
}
SCSS
$custom: #24702c;
$custom-light: #699a67;
$custom-dark: #000000;
JSON
{
  "hex": "#24702c",
  "rgb": {
    "r": 36,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 126.316,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48243,
    "c": 0.1264,
    "h": 145
  },
  "luminance": 0.12145
}

Semantic roles & 50–950 ramp

primary
#24702C
secondary
#A34D9A
accent
#4DCCDB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #24702C

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

Preview Lab → · Contrast checker → · Palette generator →

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