#488015#488015

#488015 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.0% C 0.146 H 134.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#488015
RGBrgb(72, 128, 21)
HSLhsl(91, 72%, 29%)
HSVhsv(91, 84%, 50%)
CMYKcmyk(43.8%, 0%, 83.6%, 49.8%)
CIE-LABlab(48.10, -36.16, 47.46)
CIE-LCHlch(48.10, 59.67, 127.30°)
OKLaboklab(54.05% -0.1016 0.1045)
OKLCHoklch(54.05% 0.146 134.2)
XYZxyz(10.5268, 16.8696, 3.4108)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488015 #4D1580
analogous
#7E8015 #488015 #158018
triadic
#488015 #154880 #801548
tetradic
#488015 #157E80 #4D1580 #801815
square
#488015 #157E80 #4D1580 #801815
split-complementary
#488015 #181580 #80157E
monochromatic
#0F1A04 #2A4B0C #488015 #66B51E #84DD32

Accessibility & contrast

On white

4.80
#488015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#488015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488015
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488015#FFFFFF#000000##FFFFFF
##4880151.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#477B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #488015;
/* rgb */ color: rgb(72, 128, 21);
/* oklch */ color: oklch(54.0% 0.146 134.2);
Tailwind
colors: {
  custom: {
    50: '#81a55d',
    500: '#488015',
    950: '#000000',
  },
}
SCSS
$custom: #488015;
$custom-light: #81a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#488015",
  "rgb": {
    "r": 72,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 91.402,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.14578,
    "h": 134.2
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#488015
secondary
#7B3CB5
accent
#39EF98
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #488015

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

Preview Lab → · Contrast checker → · Palette generator →

#488015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva