#24702B#24702B

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

Color values

HEX#24702B
RGBrgb(36, 112, 43)
HSLhsl(126, 51%, 29%)
HSVhsv(126, 68%, 44%)
CMYKcmyk(67.9%, 0%, 61.6%, 56.1%)
CIE-LABlab(41.43, -38.40, 31.12)
CIE-LCHlch(41.43, 49.43, 140.98°)
OKLaboklab(48.23% -0.1039 0.0735)
OKLCHoklch(48.23% 0.127 144.7)
XYZxyz(6.9573, 12.1371, 4.2611)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24702B #702469
analogous
#437024 #24702B #247051
triadic
#24702B #2B2470 #702B24
tetradic
#24702B #244370 #702469 #705124
square
#24702B #244370 #702469 #705124
split-complementary
#24702B #512470 #702443
monochromatic
#071709 #154219 #24702B #339E3D #4AC555

Accessibility & contrast

On white

6.13
#24702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #24702B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24702B#FFFFFF#000000##FFFFFF
##24702B1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726624
Deuteranopia (green-blind)
#695F31
Tritanopia (blue-blind)
#116D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #24702b;
/* rgb */ color: rgb(36, 112, 43);
/* oklch */ color: oklch(48.2% 0.127 144.7);
Tailwind
colors: {
  custom: {
    50: '#699a67',
    500: '#24702b',
    950: '#000000',
  },
}
SCSS
$custom: #24702b;
$custom-light: #699a67;
$custom-dark: #000000;
JSON
{
  "hex": "#24702b",
  "rgb": {
    "r": 36,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 125.526,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4823,
    "c": 0.1273,
    "h": 144.7
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#24702B
secondary
#A34D9B
accent
#4DCEDB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #24702B

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

Preview Lab → · Contrast checker → · Palette generator →

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