#488E17#488E17

#488E17 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.8% C 0.162 H 136.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#488E17
RGBrgb(72, 142, 23)
HSLhsl(95, 72%, 32%)
HSVhsv(95, 84%, 56%)
CMYKcmyk(49.3%, 0%, 83.8%, 44.3%)
CIE-LABlab(52.71, -41.91, 51.09)
CIE-LCHlch(52.71, 66.08, 129.36°)
OKLaboklab(57.85% -0.1169 0.1125)
OKLCHoklch(57.85% 0.162 136.1)
XYZxyz(12.4998, 20.7847, 4.1636)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488E17 #5D178E
analogous
#848E17 #488E17 #178E21
triadic
#488E17 #17488E #8E1748
tetradic
#488E17 #17848E #5D178E #8E2117
square
#488E17 #17848E #5D178E #8E2117
split-complementary
#488E17 #21178E #8E1784
monochromatic
#132506 #2D590E #488E17 #63C320 #82E03F

Accessibility & contrast

On white

4.07
#488E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#488E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488E17
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488E17#FFFFFF#000000##000000
##488E171.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#458879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #488e17;
/* rgb */ color: rgb(72, 142, 23);
/* oklch */ color: oklch(57.8% 0.162 136.1);
Tailwind
colors: {
  custom: {
    50: '#82b060',
    500: '#488e17',
    950: '#000000',
  },
}
SCSS
$custom: #488e17;
$custom-light: #82b060;
$custom-dark: #000000;
JSON
{
  "hex": "#488e17",
  "rgb": {
    "r": 72,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 95.294,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57845,
    "c": 0.16224,
    "h": 136.1
  },
  "luminance": 0.20786
}

Semantic roles & 50–950 ramp

primary
#488E17
secondary
#8C40C0
accent
#39EFA4
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488E17

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

Preview Lab → · Contrast checker → · Palette generator →

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