#488E20#488E20

#488E20 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.158 H 136.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#488E20
RGBrgb(72, 142, 32)
HSLhsl(98, 63%, 34%)
HSVhsv(98, 77%, 56%)
CMYKcmyk(49.3%, 0%, 77.5%, 44.3%)
CIE-LABlab(52.76, -41.39, 48.28)
CIE-LCHlch(52.76, 63.60, 130.61°)
OKLaboklab(57.9% -0.115 0.108)
OKLCHoklch(57.9% 0.158 136.8)
XYZxyz(12.6058, 20.8271, 4.7220)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488E20 #66208E
analogous
#7F8E20 #488E20 #208E2F
triadic
#488E20 #20488E #8E2048
tetradic
#488E20 #207F8E #66208E #8E2F20
square
#488E20 #207F8E #66208E #8E2F20
split-complementary
#488E20 #2F208E #8E207F
monochromatic
#152A09 #2F5C15 #488E20 #61C02B #82D851

Accessibility & contrast

On white

4.07
#488E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#488E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488E20
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488E20#FFFFFF#000000##000000
##488E201.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938206
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#448979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #488e20;
/* rgb */ color: rgb(72, 142, 32);
/* oklch */ color: oklch(57.9% 0.158 136.8);
Tailwind
colors: {
  custom: {
    50: '#82b064',
    500: '#488e20',
    950: '#000000',
  },
}
SCSS
$custom: #488e20;
$custom-light: #82b064;
$custom-dark: #000000;
JSON
{
  "hex": "#488e20",
  "rgb": {
    "r": 72,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 98.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57898,
    "c": 0.15774,
    "h": 136.8
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#488E20
secondary
#944FBB
accent
#42E6AA
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488E20

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

Preview Lab → · Contrast checker → · Palette generator →

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