#487C22#487C22

#487C22 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.133 H 134.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#487C22
RGBrgb(72, 124, 34)
HSLhsl(95, 57%, 31%)
HSVhsv(95, 73%, 49%)
CMYKcmyk(41.9%, 0%, 72.6%, 51.4%)
CIE-LABlab(46.85, -33.56, 41.62)
CIE-LCHlch(46.85, 53.46, 128.88°)
OKLaboklab(53.06% -0.0937 0.0943)
OKLCHoklch(53.06% 0.133 134.8)
XYZxyz(10.1687, 15.9080, 4.0478)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C22 #56227C
analogous
#757C22 #487C22 #227C29
triadic
#487C22 #22487C #7C2248
tetradic
#487C22 #22757C #56227C #7C2922
square
#487C22 #22757C #56227C #7C2922
split-complementary
#487C22 #29227C #7C2275
monochromatic
#101C08 #2C4C15 #487C22 #64AC2F #82CE4B

Accessibility & contrast

On white

5.02
#487C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#487C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C22
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C22#FFFFFF#000000##FFFFFF
##487C221.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#47776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c22;
/* rgb */ color: rgb(72, 124, 34);
/* oklch */ color: oklch(53.1% 0.133 134.8);
Tailwind
colors: {
  custom: {
    50: '#80a263',
    500: '#487c22',
    950: '#000000',
  },
}
SCSS
$custom: #487c22;
$custom-light: #80a263;
$custom-dark: #000000;
JSON
{
  "hex": "#487c22",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 94.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53057,
    "c": 0.13294,
    "h": 134.8
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#487C22
secondary
#854BAF
accent
#48E0A0
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #487C22

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

Preview Lab → · Contrast checker → · Palette generator →

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