#488A15#488A15

#488A15 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.158 H 135.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#488A15
RGBrgb(72, 138, 21)
HSLhsl(94, 74%, 31%)
HSVhsv(94, 85%, 54%)
CMYKcmyk(47.8%, 0%, 84.8%, 45.9%)
CIE-LABlab(51.39, -40.37, 50.45)
CIE-LCHlch(51.39, 64.62, 128.67°)
OKLaboklab(56.76% -0.1129 0.1108)
OKLCHoklch(56.76% 0.158 135.5)
XYZxyz(11.8960, 19.6081, 3.8672)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488A15 #57158A
analogous
#828A15 #488A15 #158A1C
triadic
#488A15 #15488A #8A1548
tetradic
#488A15 #15828A #57158A #8A1C15
square
#488A15 #15828A #57158A #8A1C15
split-complementary
#488A15 #1C158A #8A1582
monochromatic
#112005 #2C550D #488A15 #64BF1D #82E139

Accessibility & contrast

On white

4.27
#488A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#488A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488A15
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488A15#FFFFFF#000000##000000
##488A151.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877824
Tritanopia (blue-blind)
#468475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #488a15;
/* rgb */ color: rgb(72, 138, 21);
/* oklch */ color: oklch(56.8% 0.158 135.5);
Tailwind
colors: {
  custom: {
    50: '#82ad5f',
    500: '#488a15',
    950: '#000000',
  },
}
SCSS
$custom: #488a15;
$custom-light: #82ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#488a15",
  "rgb": {
    "r": 72,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 93.846,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56755,
    "c": 0.15822,
    "h": 135.5
  },
  "luminance": 0.19609
}

Semantic roles & 50–950 ramp

primary
#488A15
secondary
#863DBE
accent
#38F0A0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488A15

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

Preview Lab → · Contrast checker → · Palette generator →

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