#488D22#488D22

#488D22 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.155 H 136.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#488D22
RGBrgb(72, 141, 34)
HSLhsl(99, 61%, 34%)
HSVhsv(99, 76%, 55%)
CMYKcmyk(48.9%, 0%, 75.9%, 44.7%)
CIE-LABlab(52.44, -40.85, 47.26)
CIE-LCHlch(52.44, 62.46, 130.84°)
OKLaboklab(57.64% -0.1134 0.1061)
OKLCHoklch(57.64% 0.155 136.9)
XYZxyz(12.4857, 20.5421, 4.8202)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D22 #67228D
analogous
#7E8D22 #488D22 #228D32
triadic
#488D22 #22488D #8D2248
tetradic
#488D22 #227E8D #67228D #8D3222
square
#488D22 #227E8D #67228D #8D3222
split-complementary
#488D22 #32228D #8D227E
monochromatic
#162A0A #2F5C16 #488D22 #61BE2E #82D654

Accessibility & contrast

On white

4.11
#488D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#488D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488D22
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488D22#FFFFFF#000000##000000
##488D221.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#448878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d22;
/* rgb */ color: rgb(72, 141, 34);
/* oklch */ color: oklch(57.6% 0.155 136.9);
Tailwind
colors: {
  custom: {
    50: '#82af65',
    500: '#488d22',
    950: '#000000',
  },
}
SCSS
$custom: #488d22;
$custom-light: #82af65;
$custom-dark: #000000;
JSON
{
  "hex": "#488d22",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 98.692,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57643,
    "c": 0.15531,
    "h": 136.9
  },
  "luminance": 0.20543
}

Semantic roles & 50–950 ramp

primary
#488D22
secondary
#9451B9
accent
#44E4AB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488D22

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

Preview Lab → · Contrast checker → · Palette generator →

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