#488717#488717

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

Color values

HEX#488717
RGBrgb(72, 135, 23)
HSLhsl(94, 71%, 31%)
HSVhsv(94, 83%, 53%)
CMYKcmyk(46.7%, 0%, 83%, 47.1%)
CIE-LABlab(50.41, -39.03, 48.99)
CIE-LCHlch(50.41, 62.64, 128.54°)
OKLaboklab(55.96% -0.1092 0.1081)
OKLCHoklch(55.96% 0.154 135.3)
XYZxyz(11.4908, 18.7668, 3.8273)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488717 #561787
analogous
#808717 #488717 #17871E
triadic
#488717 #174887 #871748
tetradic
#488717 #178087 #561787 #871E17
square
#488717 #178087 #561787 #871E17
split-complementary
#488717 #1E1787 #871780
monochromatic
#101E05 #2C530E #488717 #64BB20 #82DE3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488717#FFFFFF#000000##000000
##4887171.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: #488717;
/* rgb */ color: rgb(72, 135, 23);
/* oklch */ color: oklch(56.0% 0.154 135.3);
Tailwind
colors: {
  custom: {
    50: '#81aa5f',
    500: '#488717',
    950: '#000000',
  },
}
SCSS
$custom: #488717;
$custom-light: #81aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#488717",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 23
  },
  "hsl": {
    "h": 93.75,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.15364,
    "h": 135.3
  },
  "luminance": 0.18768
}

Semantic roles & 50–950 ramp

primary
#488717
secondary
#853FBB
accent
#3AEE9F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488717

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

Preview Lab → · Contrast checker → · Palette generator →

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