#488318#488318

#488318 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.9% C 0.148 H 134.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#488318
RGBrgb(72, 131, 24)
HSLhsl(93, 69%, 30%)
HSVhsv(93, 82%, 51%)
CMYKcmyk(45%, 0%, 81.7%, 48.6%)
CIE-LABlab(49.10, -37.29, 47.47)
CIE-LCHlch(49.10, 60.36, 128.15°)
OKLaboklab(54.88% -0.1045 0.105)
OKLCHoklch(54.88% 0.148 134.8)
XYZxyz(10.9534, 17.6756, 3.6986)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488318 #531883
analogous
#7D8318 #488318 #18831D
triadic
#488318 #184883 #831848
tetradic
#488318 #187D83 #531883 #831D18
square
#488318 #187D83 #531883 #831D18
split-complementary
#488318 #1D1883 #83187D
monochromatic
#0F1C05 #2C4F0F #488318 #64B721 #82DB3A

Accessibility & contrast

On white

4.63
#488318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#488318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #488318
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488318#FFFFFF#000000##FFFFFF
##4883181.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#477E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #488318;
/* rgb */ color: rgb(72, 131, 24);
/* oklch */ color: oklch(54.9% 0.148 134.8);
Tailwind
colors: {
  custom: {
    50: '#81a75f',
    500: '#488318',
    950: '#000000',
  },
}
SCSS
$custom: #488318;
$custom-light: #81a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#488318",
  "rgb": {
    "r": 72,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 93.084,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54878,
    "c": 0.14813,
    "h": 134.8
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#488318
secondary
#8240B7
accent
#3CEC9D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #488318

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

Preview Lab → · Contrast checker → · Palette generator →

#488318 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva