#488B24#488B24

#488B24 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.1% C 0.151 H 136.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#488B24
RGBrgb(72, 139, 36)
HSLhsl(99, 59%, 34%)
HSVhsv(99, 74%, 55%)
CMYKcmyk(48.2%, 0%, 74.1%, 45.5%)
CIE-LABlab(51.80, -39.87, 45.86)
CIE-LCHlch(51.80, 60.77, 131.00°)
OKLaboklab(57.12% -0.1106 0.1035)
OKLCHoklch(57.12% 0.152 136.9)
XYZxyz(12.2232, 19.9695, 4.8791)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B24 #67248B
analogous
#7C8B24 #488B24 #248B34
triadic
#488B24 #24488B #8B2448
tetradic
#488B24 #247C8B #67248B #8B3424
square
#488B24 #247C8B #67248B #8B3424
split-complementary
#488B24 #34248B #8B247C
monochromatic
#162A0B #2F5A17 #488B24 #61BC31 #82D356

Accessibility & contrast

On white

4.21
#488B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#488B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488B24
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488B24#FFFFFF#000000##000000
##488B241.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F12
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#448677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488b24;
/* rgb */ color: rgb(72, 139, 36);
/* oklch */ color: oklch(57.1% 0.151 136.9);
Tailwind
colors: {
  custom: {
    50: '#81ad66',
    500: '#488b24',
    950: '#000000',
  },
}
SCSS
$custom: #488b24;
$custom-light: #81ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#488b24",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 99.029,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5712,
    "c": 0.1515,
    "h": 136.9
  },
  "luminance": 0.1997
}

Semantic roles & 50–950 ramp

primary
#488B24
secondary
#9453B7
accent
#46E2AB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488B24

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

Preview Lab → · Contrast checker → · Palette generator →

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