#488718#488718

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

Color values

HEX#488718
RGBrgb(72, 135, 24)
HSLhsl(94, 70%, 31%)
HSVhsv(94, 82%, 53%)
CMYKcmyk(46.7%, 0%, 82.2%, 47.1%)
CIE-LABlab(50.42, -38.98, 48.69)
CIE-LCHlch(50.42, 62.37, 128.68°)
OKLaboklab(55.96% -0.109 0.1076)
OKLCHoklch(55.96% 0.153 135.4)
XYZxyz(11.5011, 18.7709, 3.8811)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488718 #571887
analogous
#7F8718 #488718 #18871F
triadic
#488718 #184887 #871848
tetradic
#488718 #187F87 #571887 #871F18
square
#488718 #187F87 #571887 #871F18
split-complementary
#488718 #1F1887 #87187F
monochromatic
#111F06 #2C530F #488718 #64BB21 #82DC3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488718#FFFFFF#000000##000000
##4887181.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)
#847625
Tritanopia (blue-blind)
#468273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #488718;
/* rgb */ color: rgb(72, 135, 24);
/* oklch */ color: oklch(56.0% 0.153 135.4);
Tailwind
colors: {
  custom: {
    50: '#81aa60',
    500: '#488718',
    950: '#000000',
  },
}
SCSS
$custom: #488718;
$custom-light: #81aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#488718",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 94.054,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.15316,
    "h": 135.4
  },
  "luminance": 0.18772
}

Semantic roles & 50–950 ramp

primary
#488718
secondary
#8640BB
accent
#3BEDA0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488718

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

Preview Lab → · Contrast checker → · Palette generator →

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