#488A18#488A18

#488A18 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#488A18
RGBrgb(72, 138, 24)
HSLhsl(95, 70%, 32%)
HSVhsv(95, 83%, 54%)
CMYKcmyk(47.8%, 0%, 82.6%, 45.9%)
CIE-LABlab(51.40, -40.22, 49.60)
CIE-LCHlch(51.40, 63.86, 129.04°)
OKLaboklab(56.77% -0.1124 0.1095)
OKLCHoklch(56.77% 0.157 135.7)
XYZxyz(11.9255, 19.6199, 4.0226)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488A18 #5A188A
analogous
#818A18 #488A18 #188A21
triadic
#488A18 #18488A #8A1848
tetradic
#488A18 #18818A #5A188A #8A2118
square
#488A18 #18818A #5A188A #8A2118
split-complementary
#488A18 #21188A #8A1881
monochromatic
#122206 #2D560F #488A18 #63BE21 #82DE3F

Accessibility & contrast

On white

4.26
#488A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##488A18#FFFFFF#000000##000000
##488A181.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #488a18;
/* rgb */ color: rgb(72, 138, 24);
/* oklch */ color: oklch(56.8% 0.157 135.7);
Tailwind
colors: {
  custom: {
    50: '#82ad60',
    500: '#488a18',
    950: '#000000',
  },
}
SCSS
$custom: #488a18;
$custom-light: #82ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#488a18",
  "rgb": {
    "r": 72,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 94.737,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.15689,
    "h": 135.7
  },
  "luminance": 0.19621
}

Semantic roles & 50–950 ramp

primary
#488A18
secondary
#8940BD
accent
#3BEDA2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488A18

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

Preview Lab → · Contrast checker → · Palette generator →

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