#488F18#488F18

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

Color values

HEX#488F18
RGBrgb(72, 143, 24)
HSLhsl(96, 71%, 33%)
HSVhsv(96, 83%, 56%)
CMYKcmyk(49.7%, 0%, 83.2%, 43.9%)
CIE-LABlab(53.05, -42.26, 51.11)
CIE-LCHlch(53.05, 66.32, 129.59°)
OKLaboklab(58.12% -0.1178 0.1127)
OKLCHoklch(58.12% 0.163 136.3)
XYZxyz(12.6595, 21.0877, 4.2672)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F18 #5F188F
analogous
#838F18 #488F18 #188F23
triadic
#488F18 #18488F #8F1848
tetradic
#488F18 #18838F #5F188F #8F2318
square
#488F18 #18838F #5F188F #8F2318
split-complementary
#488F18 #23188F #8F1883
monochromatic
#132606 #2E5B0F #488F18 #62C321 #82DF42

Accessibility & contrast

On white

4.02
#488F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##488F18#FFFFFF#000000##000000
##488F181.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C27
Tritanopia (blue-blind)
#44897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f18;
/* rgb */ color: rgb(72, 143, 24);
/* oklch */ color: oklch(58.1% 0.163 136.3);
Tailwind
colors: {
  custom: {
    50: '#83b061',
    500: '#488f18',
    950: '#000000',
  },
}
SCSS
$custom: #488f18;
$custom-light: #83b061;
$custom-dark: #000000;
JSON
{
  "hex": "#488f18",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 95.798,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5812,
    "c": 0.16302,
    "h": 136.3
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#488F18
secondary
#8E43C0
accent
#3AEEA5
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488F18

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

Preview Lab → · Contrast checker → · Palette generator →

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