#488D24#488D24

#488D24 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.154 H 137.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#488D24
RGBrgb(72, 141, 36)
HSLhsl(99, 59%, 35%)
HSVhsv(99, 74%, 55%)
CMYKcmyk(48.9%, 0%, 74.5%, 44.7%)
CIE-LABlab(52.46, -40.70, 46.52)
CIE-LCHlch(52.46, 61.82, 131.18°)
OKLaboklab(57.66% -0.1129 0.1049)
OKLCHoklch(57.66% 0.154 137.1)
XYZxyz(12.5154, 20.5540, 4.9766)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D24 #69248D
analogous
#7C8D24 #488D24 #248D35
triadic
#488D24 #24488D #8D2448
tetradic
#488D24 #247C8D #69248D #8D3524
square
#488D24 #247C8D #69248D #8D3524
split-complementary
#488D24 #35248D #8D247C
monochromatic
#162B0B #2F5C18 #488D24 #61BE30 #82D457

Accessibility & contrast

On white

4.11
#488D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#488D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488D24
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488D24#FFFFFF#000000##000000
##488D241.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928111
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#448879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d24;
/* rgb */ color: rgb(72, 141, 36);
/* oklch */ color: oklch(57.7% 0.154 137.1);
Tailwind
colors: {
  custom: {
    50: '#82af66',
    500: '#488d24',
    950: '#000000',
  },
}
SCSS
$custom: #488d24;
$custom-light: #82af66;
$custom-dark: #000000;
JSON
{
  "hex": "#488d24",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 99.429,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57658,
    "c": 0.15408,
    "h": 137.1
  },
  "luminance": 0.20555
}

Semantic roles & 50–950 ramp

primary
#488D24
secondary
#9654B8
accent
#45E3AD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488D24

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

Preview Lab → · Contrast checker → · Palette generator →

#488D24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva