#24702E#24702E

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

Color values

HEX#24702E
RGBrgb(36, 112, 46)
HSLhsl(128, 51%, 29%)
HSVhsv(128, 68%, 44%)
CMYKcmyk(67.9%, 0%, 58.9%, 56.1%)
CIE-LABlab(41.47, -37.99, 29.62)
CIE-LCHlch(41.47, 48.17, 142.05°)
OKLaboklab(48.27% -0.1027 0.0705)
OKLCHoklch(48.27% 0.125 145.5)
XYZxyz(7.0144, 12.1600, 4.5617)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24702E #702466
analogous
#407024 #24702E #247054
triadic
#24702E #2E2470 #702E24
tetradic
#24702E #244070 #702466 #705424
square
#24702E #244070 #702466 #705424
split-complementary
#24702E #542470 #702440
monochromatic
#07170A #15421B #24702E #339E41 #4AC55A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24702E#FFFFFF#000000##FFFFFF
##24702E1.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)
#726628
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#0F6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #24702e;
/* rgb */ color: rgb(36, 112, 46);
/* oklch */ color: oklch(48.3% 0.125 145.5);
Tailwind
colors: {
  custom: {
    50: '#699a69',
    500: '#24702e',
    950: '#000000',
  },
}
SCSS
$custom: #24702e;
$custom-light: #699a69;
$custom-dark: #000000;
JSON
{
  "hex": "#24702e",
  "rgb": {
    "r": 36,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 127.895,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48271,
    "c": 0.12456,
    "h": 145.5
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#24702E
secondary
#A34D98
accent
#4DC8DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #24702E

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

Preview Lab → · Contrast checker → · Palette generator →

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