#24751C#24751C

#24751C is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.145 H 141.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#24751C
RGBrgb(36, 117, 28)
HSLhsl(115, 61%, 28%)
HSVhsv(115, 76%, 46%)
CMYKcmyk(69.2%, 0%, 76.1%, 54.1%)
CIE-LABlab(43.03, -41.94, 39.69)
CIE-LCHlch(43.03, 57.75, 136.58°)
OKLaboklab(49.51% -0.1143 0.0899)
OKLCHoklch(49.51% 0.145 141.8)
XYZxyz(7.2980, 13.1807, 3.2579)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24751C #6D1C75
analogous
#50751C #24751C #1C7540
triadic
#24751C #1C2475 #751C24
tetradic
#24751C #1C5075 #6D1C75 #75401C
square
#24751C #1C5075 #6D1C75 #75401C
split-complementary
#24751C #401C75 #751C50
monochromatic
#081906 #154410 #24751C #33A628 #49D03B

Accessibility & contrast

On white

5.78
#24751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#24751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24751C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24751C#FFFFFF#000000##FFFFFF
##24751C1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0C
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#137164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #24751c;
/* rgb */ color: rgb(36, 117, 28);
/* oklch */ color: oklch(49.5% 0.145 141.8);
Tailwind
colors: {
  custom: {
    50: '#6b9e5e',
    500: '#24751c',
    950: '#000000',
  },
}
SCSS
$custom: #24751c;
$custom-light: #6b9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#24751c",
  "rgb": {
    "r": 36,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 114.607,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4951,
    "c": 0.14542,
    "h": 141.8
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#24751C
secondary
#A044A9
accent
#43E4D6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #24751C

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

Preview Lab → · Contrast checker → · Palette generator →

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