#488C17#488C17

#488C17 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.160 H 135.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#488C17
RGBrgb(72, 140, 23)
HSLhsl(95, 72%, 32%)
HSVhsv(95, 84%, 55%)
CMYKcmyk(48.6%, 0%, 83.6%, 45.1%)
CIE-LABlab(52.06, -41.10, 50.49)
CIE-LCHlch(52.06, 65.10, 129.14°)
OKLaboklab(57.3% -0.1147 0.1112)
OKLCHoklch(57.3% 0.16 135.9)
XYZxyz(12.2049, 20.1949, 4.0653)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C17 #5B178C
analogous
#838C17 #488C17 #178C21
triadic
#488C17 #17488C #8C1748
tetradic
#488C17 #17838C #5B178C #8C2117
square
#488C17 #17838C #5B178C #8C2117
split-complementary
#488C17 #21178C #8C1783
monochromatic
#122306 #2D570E #488C17 #63C120 #82DF3E

Accessibility & contrast

On white

4.17
#488C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#488C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C17
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C17#FFFFFF#000000##000000
##488C171.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#458677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c17;
/* rgb */ color: rgb(72, 140, 23);
/* oklch */ color: oklch(57.3% 0.160 135.9);
Tailwind
colors: {
  custom: {
    50: '#82ae60',
    500: '#488c17',
    950: '#000000',
  },
}
SCSS
$custom: #488c17;
$custom-light: #82ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#488c17",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 94.872,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.1598,
    "h": 135.9
  },
  "luminance": 0.20196
}

Semantic roles & 50–950 ramp

primary
#488C17
secondary
#8A3FBF
accent
#39EFA3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488C17

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

Preview Lab → · Contrast checker → · Palette generator →

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