#488F17#488F17

#488F17 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.1% C 0.163 H 136.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#488F17
RGBrgb(72, 143, 23)
HSLhsl(96, 72%, 33%)
HSVhsv(96, 84%, 56%)
CMYKcmyk(49.7%, 0%, 83.9%, 43.9%)
CIE-LABlab(53.04, -42.31, 51.39)
CIE-LCHlch(53.04, 66.57, 129.47°)
OKLaboklab(58.12% -0.118 0.1131)
OKLCHoklch(58.12% 0.163 136.2)
XYZxyz(12.6493, 21.0836, 4.2135)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F17 #5E178F
analogous
#848F17 #488F17 #178F22
triadic
#488F17 #17488F #8F1748
tetradic
#488F17 #17848F #5E178F #8F2217
square
#488F17 #17848F #5E178F #8F2217
split-complementary
#488F17 #22178F #8F1784
monochromatic
#132606 #2D5A0F #488F17 #63C41F #82E040

Accessibility & contrast

On white

4.03
#488F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#488F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488F17
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488F17#FFFFFF#000000##000000
##488F171.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#458979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f17;
/* rgb */ color: rgb(72, 143, 23);
/* oklch */ color: oklch(58.1% 0.163 136.2);
Tailwind
colors: {
  custom: {
    50: '#83b060',
    500: '#488f17',
    950: '#000000',
  },
}
SCSS
$custom: #488f17;
$custom-light: #83b060;
$custom-dark: #000000;
JSON
{
  "hex": "#488f17",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 95.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58115,
    "c": 0.16346,
    "h": 136.2
  },
  "luminance": 0.21085
}

Semantic roles & 50–950 ramp

primary
#488F17
secondary
#8D41C1
accent
#39EFA5
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488F17

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

Preview Lab → · Contrast checker → · Palette generator →

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