#488B15#488B15

#488B15 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.0% C 0.159 H 135.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#488B15
RGBrgb(72, 139, 21)
HSLhsl(94, 74%, 31%)
HSVhsv(94, 85%, 55%)
CMYKcmyk(48.2%, 0%, 84.9%, 45.5%)
CIE-LABlab(51.72, -40.78, 50.74)
CIE-LCHlch(51.72, 65.10, 128.79°)
OKLaboklab(57.03% -0.114 0.1115)
OKLCHoklch(57.03% 0.159 135.7)
XYZxyz(12.0402, 19.8963, 3.9153)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B15 #58158B
analogous
#838B15 #488B15 #158B1D
triadic
#488B15 #15488B #8B1548
tetradic
#488B15 #15838B #58158B #8B1D15
square
#488B15 #15838B #58158B #8B1D15
split-complementary
#488B15 #1D158B #8B1583
monochromatic
#112105 #2C560D #488B15 #64C01D #82E139

Accessibility & contrast

On white

4.22
#488B15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#488B15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488B15
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488B15#FFFFFF#000000##000000
##488B151.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887924
Tritanopia (blue-blind)
#458576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488b15;
/* rgb */ color: rgb(72, 139, 21);
/* oklch */ color: oklch(57.0% 0.159 135.7);
Tailwind
colors: {
  custom: {
    50: '#82ad5f',
    500: '#488b15',
    950: '#000000',
  },
}
SCSS
$custom: #488b15;
$custom-light: #82ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#488b15",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 21
  },
  "hsl": {
    "h": 94.068,
    "s": 73.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57025,
    "c": 0.15944,
    "h": 135.7
  },
  "luminance": 0.19897
}

Semantic roles & 50–950 ramp

primary
#488B15
secondary
#873DBF
accent
#37F0A0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488B15

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

Preview Lab → · Contrast checker → · Palette generator →

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