#24701F#24701F

#24701F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.137 H 142.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#24701F
RGBrgb(36, 112, 31)
HSLhsl(116, 57%, 28%)
HSVhsv(116, 72%, 44%)
CMYKcmyk(67.9%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.31, -39.79, 36.67)
CIE-LCHlch(41.31, 54.11, 137.34°)
OKLaboklab(48.09% -0.1083 0.0839)
OKLCHoklch(48.09% 0.137 142.2)
XYZxyz(6.7687, 12.0617, 3.2675)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24701F #6B1F70
analogous
#4C701F #24701F #1F7042
triadic
#24701F #1F2470 #701F24
tetradic
#24701F #1F4C70 #6B1F70 #70421F
square
#24701F #1F4C70 #6B1F70 #70421F
split-complementary
#24701F #421F70 #701F4C
monochromatic
#081807 #154012 #24701F #33A02C #48CA3F

Accessibility & contrast

On white

6.15
#24701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#24701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24701F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24701F#FFFFFF#000000##FFFFFF
##24701F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736513
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#156D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #24701f;
/* rgb */ color: rgb(36, 112, 31);
/* oklch */ color: oklch(48.1% 0.137 142.2);
Tailwind
colors: {
  custom: {
    50: '#6a9a5f',
    500: '#24701f',
    950: '#000000',
  },
}
SCSS
$custom: #24701f;
$custom-light: #6a9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#24701f",
  "rgb": {
    "r": 36,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 116.296,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48093,
    "c": 0.13706,
    "h": 142.2
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#24701F
secondary
#9E47A4
accent
#48E0D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #24701F

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

Preview Lab → · Contrast checker → · Palette generator →

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