#488F15#488F15

#488F15 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.1% C 0.164 H 136.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#488F15
RGBrgb(72, 143, 21)
HSLhsl(95, 74%, 32%)
HSVhsv(95, 85%, 56%)
CMYKcmyk(49.7%, 0%, 85.3%, 43.9%)
CIE-LABlab(53.03, -42.41, 51.92)
CIE-LCHlch(53.03, 67.04, 129.24°)
OKLaboklab(58.11% -0.1184 0.1139)
OKLCHoklch(58.11% 0.164 136.1)
XYZxyz(12.6300, 21.0759, 4.1119)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F15 #5C158F
analogous
#858F15 #488F15 #158F1F
triadic
#488F15 #15488F #8F1548
tetradic
#488F15 #15858F #5C158F #8F1F15
square
#488F15 #15858F #5C158F #8F1F15
split-complementary
#488F15 #1F158F #8F1585
monochromatic
#122405 #2D5A0D #488F15 #63C41D #82E23C

Accessibility & contrast

On white

4.03
#488F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#488F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488F15
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488F15#FFFFFF#000000##000000
##488F151.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#458979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f15;
/* rgb */ color: rgb(72, 143, 21);
/* oklch */ color: oklch(58.1% 0.164 136.1);
Tailwind
colors: {
  custom: {
    50: '#83b060',
    500: '#488f15',
    950: '#000000',
  },
}
SCSS
$custom: #488f15;
$custom-light: #83b060;
$custom-dark: #000000;
JSON
{
  "hex": "#488f15",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 94.918,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58105,
    "c": 0.16429,
    "h": 136.1
  },
  "luminance": 0.21077
}

Semantic roles & 50–950 ramp

primary
#488F15
secondary
#8B3EC2
accent
#37F1A3
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488F15

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

Preview Lab → · Contrast checker → · Palette generator →

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