#487F22#487F22

#487F22 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.137 H 135.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#487F22
RGBrgb(72, 127, 34)
HSLhsl(95, 58%, 32%)
HSVhsv(95, 73%, 50%)
CMYKcmyk(43.3%, 0%, 73.2%, 50.2%)
CIE-LABlab(47.84, -34.89, 42.63)
CIE-LCHlch(47.84, 55.09, 129.30°)
OKLaboklab(53.87% -0.0973 0.0964)
OKLCHoklch(53.87% 0.137 135.3)
XYZxyz(10.5503, 16.6714, 4.1750)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F22 #59227F
analogous
#777F22 #487F22 #227F2B
triadic
#487F22 #22487F #7F2248
tetradic
#487F22 #22777F #59227F #7F2B22
square
#487F22 #22777F #59227F #7F2B22
split-complementary
#487F22 #2B227F #7F2277
monochromatic
#111E08 #2D4F15 #487F22 #63AF2F #82CF4C

Accessibility & contrast

On white

4.84
#487F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#487F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F22
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F22#FFFFFF#000000##FFFFFF
##487F221.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847413
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#477A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #487f22;
/* rgb */ color: rgb(72, 127, 34);
/* oklch */ color: oklch(53.9% 0.137 135.3);
Tailwind
colors: {
  custom: {
    50: '#80a463',
    500: '#487f22',
    950: '#000000',
  },
}
SCSS
$custom: #487f22;
$custom-light: #80a463;
$custom-dark: #000000;
JSON
{
  "hex": "#487f22",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 95.484,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53868,
    "c": 0.137,
    "h": 135.3
  },
  "luminance": 0.16672
}

Semantic roles & 50–950 ramp

primary
#487F22
secondary
#884BB2
accent
#47E1A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #487F22

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

Preview Lab → · Contrast checker → · Palette generator →

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