#488D15#488D15

#488D15 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.162 H 135.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#488D15
RGBrgb(72, 141, 21)
HSLhsl(95, 74%, 32%)
HSVhsv(95, 85%, 55%)
CMYKcmyk(48.9%, 0%, 85.1%, 44.7%)
CIE-LABlab(52.38, -41.60, 51.33)
CIE-LCHlch(52.38, 66.07, 129.02°)
OKLaboklab(57.57% -0.1162 0.1127)
OKLCHoklch(57.57% 0.162 135.9)
XYZxyz(12.3324, 20.4808, 4.0127)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D15 #5A158D
analogous
#848D15 #488D15 #158D1E
triadic
#488D15 #15488D #8D1548
tetradic
#488D15 #15848D #5A158D #8D1E15
square
#488D15 #15848D #5A158D #8D1E15
split-complementary
#488D15 #1E158D #8D1584
monochromatic
#122205 #2D580D #488D15 #63C21D #82E23B

Accessibility & contrast

On white

4.12
#488D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#488D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488D15
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488D15#FFFFFF#000000##000000
##488D151.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#458778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d15;
/* rgb */ color: rgb(72, 141, 21);
/* oklch */ color: oklch(57.6% 0.162 135.9);
Tailwind
colors: {
  custom: {
    50: '#82af5f',
    500: '#488d15',
    950: '#000000',
  },
}
SCSS
$custom: #488d15;
$custom-light: #82af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#488d15",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 94.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57565,
    "c": 0.16188,
    "h": 135.9
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#488D15
secondary
#893DC1
accent
#37F1A2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488D15

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

Preview Lab → · Contrast checker → · Palette generator →

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