#488716#488716

#488716 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 55.9% C 0.154 H 135.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#488716
RGBrgb(72, 135, 22)
HSLhsl(93, 72%, 31%)
HSVhsv(93, 84%, 53%)
CMYKcmyk(46.7%, 0%, 83.7%, 47.1%)
CIE-LABlab(50.41, -39.08, 49.28)
CIE-LCHlch(50.41, 62.90, 128.42°)
OKLaboklab(55.95% -0.1094 0.1085)
OKLCHoklch(55.95% 0.154 135.2)
XYZxyz(11.4810, 18.7629, 3.7755)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488716 #551687
analogous
#808716 #488716 #16871C
triadic
#488716 #164887 #871648
tetradic
#488716 #168087 #551687 #871C16
square
#488716 #168087 #551687 #871C16
split-complementary
#488716 #1C1687 #871680
monochromatic
#101E05 #2C520D #488716 #64BC1F #82DF39

Accessibility & contrast

On white

4.42
#488716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#488716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488716
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488716#FFFFFF#000000##000000
##4887161.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#468273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #488716;
/* rgb */ color: rgb(72, 135, 22);
/* oklch */ color: oklch(55.9% 0.154 135.2);
Tailwind
colors: {
  custom: {
    50: '#82aa5f',
    500: '#488716',
    950: '#000000',
  },
}
SCSS
$custom: #488716;
$custom-light: #82aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#488716",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 93.451,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55949,
    "c": 0.15409,
    "h": 135.2
  },
  "luminance": 0.18764
}

Semantic roles & 50–950 ramp

primary
#488716
secondary
#843EBB
accent
#39EF9E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488716

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

Preview Lab → · Contrast checker → · Palette generator →

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