#24802A#24802A

#24802A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.149 H 144.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#24802A
RGBrgb(36, 128, 42)
HSLhsl(124, 56%, 32%)
HSVhsv(124, 72%, 50%)
CMYKcmyk(71.9%, 0%, 67.2%, 49.8%)
CIE-LABlab(46.95, -44.58, 37.84)
CIE-LCHlch(46.95, 58.48, 139.67°)
OKLaboklab(52.79% -0.1207 0.0878)
OKLCHoklch(52.79% 0.149 144)
XYZxyz(8.8641, 15.9796, 4.8073)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24802A #80247A
analogous
#4C8024 #24802A #248058
triadic
#24802A #2A2480 #802A24
tetradic
#24802A #244C80 #80247A #805824
square
#24802A #244C80 #80247A #805824
split-complementary
#24802A #582480 #80244C
monochromatic
#09200B #17501A #24802A #31B03A #50CE59

Accessibility & contrast

On white

5.00
#24802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#24802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24802A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24802A#FFFFFF#000000##FFFFFF
##24802A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#786C32
Tritanopia (blue-blind)
#057C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #24802a;
/* rgb */ color: rgb(36, 128, 42);
/* oklch */ color: oklch(52.8% 0.149 144.0);
Tailwind
colors: {
  custom: {
    50: '#6da668',
    500: '#24802a',
    950: '#000000',
  },
}
SCSS
$custom: #24802a;
$custom-light: #6da668;
$custom-dark: #000000;
JSON
{
  "hex": "#24802a",
  "rgb": {
    "r": 36,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 123.913,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.14927,
    "h": 144
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#24802A
secondary
#B24EAB
accent
#48D6DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #24802A

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

Preview Lab → · Contrast checker → · Palette generator →

#24802A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva