#488A17#488A17

#488A17 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.157 H 135.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#488A17
RGBrgb(72, 138, 23)
HSLhsl(94, 71%, 32%)
HSVhsv(94, 83%, 54%)
CMYKcmyk(47.8%, 0%, 83.3%, 45.9%)
CIE-LABlab(51.40, -40.28, 49.89)
CIE-LCHlch(51.40, 64.12, 128.91°)
OKLaboklab(56.77% -0.1125 0.11)
OKLCHoklch(56.77% 0.157 135.7)
XYZxyz(11.9153, 19.6158, 3.9688)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488A17 #59178A
analogous
#828A17 #488A17 #178A20
triadic
#488A17 #17488A #8A1748
tetradic
#488A17 #17828A #59178A #8A2017
square
#488A17 #17828A #59178A #8A2017
split-complementary
#488A17 #20178A #8A1782
monochromatic
#112106 #2D560E #488A17 #63BE20 #82DF3D

Accessibility & contrast

On white

4.27
#488A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#488A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488A17
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488A17#FFFFFF#000000##000000
##488A171.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877825
Tritanopia (blue-blind)
#458575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #488a17;
/* rgb */ color: rgb(72, 138, 23);
/* oklch */ color: oklch(56.8% 0.157 135.7);
Tailwind
colors: {
  custom: {
    50: '#82ad60',
    500: '#488a17',
    950: '#000000',
  },
}
SCSS
$custom: #488a17;
$custom-light: #82ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#488a17",
  "rgb": {
    "r": 72,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 94.435,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.15735,
    "h": 135.7
  },
  "luminance": 0.19617
}

Semantic roles & 50–950 ramp

primary
#488A17
secondary
#883FBE
accent
#3AEEA1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488A17

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

Preview Lab → · Contrast checker → · Palette generator →

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