#487920#487920

#487920 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.2% C 0.130 H 134.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#487920
RGBrgb(72, 121, 32)
HSLhsl(93, 58%, 30%)
HSVhsv(93, 74%, 47%)
CMYKcmyk(40.5%, 0%, 73.6%, 52.5%)
CIE-LABlab(45.85, -32.36, 41.41)
CIE-LCHlch(45.85, 52.55, 128.01°)
OKLaboklab(52.23% -0.0906 0.0936)
OKLCHoklch(52.23% 0.13 134.1)
XYZxyz(9.7704, 15.1563, 3.7769)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487920 #512079
analogous
#747920 #487920 #207925
triadic
#487920 #204879 #792048
tetradic
#487920 #207479 #512079 #792520
square
#487920 #207479 #512079 #792520
split-complementary
#487920 #252079 #792074
monochromatic
#0E1806 #2B4913 #487920 #65A92D #83CE45

Accessibility & contrast

On white

5.21
#487920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#487920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487920
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487920#FFFFFF#000000##FFFFFF
##4879201.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F11
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#487467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487920;
/* rgb */ color: rgb(72, 121, 32);
/* oklch */ color: oklch(52.2% 0.130 134.1);
Tailwind
colors: {
  custom: {
    50: '#7fa061',
    500: '#487920',
    950: '#000000',
  },
}
SCSS
$custom: #487920;
$custom-light: #7fa061;
$custom-dark: #000000;
JSON
{
  "hex": "#487920",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 93.034,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.13026,
    "h": 134.1
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#487920
secondary
#7F49AC
accent
#46E19C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487920

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

Preview Lab → · Contrast checker → · Palette generator →

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