#488B20#488B20

#488B20 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.154 H 136.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#488B20
RGBrgb(72, 139, 32)
HSLhsl(98, 63%, 34%)
HSVhsv(98, 77%, 55%)
CMYKcmyk(48.2%, 0%, 77%, 45.5%)
CIE-LABlab(51.78, -40.16, 47.32)
CIE-LCHlch(51.78, 62.07, 130.32°)
OKLaboklab(57.09% -0.1117 0.106)
OKLCHoklch(57.09% 0.154 136.5)
XYZxyz(12.1655, 19.9464, 4.5752)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B20 #63208B
analogous
#7D8B20 #488B20 #208B2D
triadic
#488B20 #20488B #8B2048
tetradic
#488B20 #207D8B #63208B #8B2D20
square
#488B20 #207D8B #63208B #8B2D20
split-complementary
#488B20 #2D208B #8B207D
monochromatic
#142809 #2E5915 #488B20 #62BD2B #82D64F

Accessibility & contrast

On white

4.21
#488B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#488B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488B20
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488B20#FFFFFF#000000##000000
##488B201.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#458677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488b20;
/* rgb */ color: rgb(72, 139, 32);
/* oklch */ color: oklch(57.1% 0.154 136.5);
Tailwind
colors: {
  custom: {
    50: '#82ad64',
    500: '#488b20',
    950: '#000000',
  },
}
SCSS
$custom: #488b20;
$custom-light: #82ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#488b20",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 97.57,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.15395,
    "h": 136.5
  },
  "luminance": 0.19947
}

Semantic roles & 50–950 ramp

primary
#488B20
secondary
#914DBA
accent
#42E6A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488B20

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

Preview Lab → · Contrast checker → · Palette generator →

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