#24731E#24731E

#24731E is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.142 H 142.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#24731E
RGBrgb(36, 115, 30)
HSLhsl(116, 59%, 28%)
HSVhsv(116, 74%, 45%)
CMYKcmyk(68.7%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.35, -41.02, 38.18)
CIE-LCHlch(42.35, 56.04, 137.05°)
OKLaboklab(48.95% -0.1117 0.087)
OKLCHoklch(48.95% 0.142 142.1)
XYZxyz(7.0922, 12.7295, 3.3113)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24731E #6D1E73
analogous
#4E731E #24731E #1E7342
triadic
#24731E #1E2473 #731E24
tetradic
#24731E #1E4E73 #6D1E73 #73421E
square
#24731E #1E4E73 #6D1E73 #73421E
split-complementary
#24731E #421E73 #731E4E
monochromatic
#081806 #154211 #24731E #33A42B #49CD3F

Accessibility & contrast

On white

5.92
#24731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#24731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24731E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24731E#FFFFFF#000000##FFFFFF
##24731E1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766810
Deuteranopia (green-blind)
#6C6226
Tritanopia (blue-blind)
#136F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #24731e;
/* rgb */ color: rgb(36, 115, 30);
/* oklch */ color: oklch(48.9% 0.142 142.1);
Tailwind
colors: {
  custom: {
    50: '#6b9c5f',
    500: '#24731e',
    950: '#000000',
  },
}
SCSS
$custom: #24731e;
$custom-light: #6b9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#24731e",
  "rgb": {
    "r": 36,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 115.765,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4895,
    "c": 0.14159,
    "h": 142.1
  },
  "luminance": 0.1273
}

Semantic roles & 50–950 ramp

primary
#24731E
secondary
#A046A7
accent
#46E2D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #24731E

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

Preview Lab → · Contrast checker → · Palette generator →

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