#487D22#487D22

#487D22 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.3% C 0.134 H 135.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#487D22
RGBrgb(72, 125, 34)
HSLhsl(95, 57%, 31%)
HSVhsv(95, 73%, 49%)
CMYKcmyk(42.4%, 0%, 72.8%, 51%)
CIE-LABlab(47.18, -34.00, 41.96)
CIE-LCHlch(47.18, 54.01, 129.02°)
OKLaboklab(53.33% -0.0949 0.095)
OKLCHoklch(53.33% 0.134 135)
XYZxyz(10.2946, 16.1599, 4.0898)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D22 #57227D
analogous
#757D22 #487D22 #227D29
triadic
#487D22 #22487D #7D2248
tetradic
#487D22 #22757D #57227D #7D2922
square
#487D22 #22757D #57227D #7D2922
split-complementary
#487D22 #29227D #7D2275
monochromatic
#111D08 #2C4D15 #487D22 #64AD2F #82CE4B

Accessibility & contrast

On white

4.96
#487D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#487D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D22
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D22#FFFFFF#000000##FFFFFF
##487D221.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#47786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d22;
/* rgb */ color: rgb(72, 125, 34);
/* oklch */ color: oklch(53.3% 0.134 135.0);
Tailwind
colors: {
  custom: {
    50: '#80a363',
    500: '#487d22',
    950: '#000000',
  },
}
SCSS
$custom: #487d22;
$custom-light: #80a363;
$custom-dark: #000000;
JSON
{
  "hex": "#487d22",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 94.945,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53327,
    "c": 0.1343,
    "h": 135
  },
  "luminance": 0.1616
}

Semantic roles & 50–950 ramp

primary
#487D22
secondary
#864BB0
accent
#47E0A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #487D22

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

Preview Lab → · Contrast checker → · Palette generator →

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