#487222#487222

#487222 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.119 H 133.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#487222
RGBrgb(72, 114, 34)
HSLhsl(92, 54%, 29%)
HSVhsv(92, 70%, 45%)
CMYKcmyk(36.8%, 0%, 70.2%, 55.3%)
CIE-LABlab(43.55, -28.96, 38.17)
CIE-LCHlch(43.55, 47.91, 127.18°)
OKLaboklab(50.36% -0.0812 0.0871)
OKLCHoklch(50.36% 0.119 133)
XYZxyz(8.9784, 13.5275, 3.6511)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487222 #4C2272
analogous
#707222 #487222 #227224
triadic
#487222 #224872 #722248
tetradic
#487222 #227072 #4C2272 #722422
square
#487222 #227072 #4C2272 #722422
split-complementary
#487222 #242272 #722270
monochromatic
#0F1807 #2A4314 #487222 #66A130 #84C846

Accessibility & contrast

On white

5.67
#487222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#487222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487222
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487222#FFFFFF#000000##FFFFFF
##4872221.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#716629
Tritanopia (blue-blind)
#486D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487222;
/* rgb */ color: rgb(72, 114, 34);
/* oklch */ color: oklch(50.4% 0.119 133.0);
Tailwind
colors: {
  custom: {
    50: '#7e9b62',
    500: '#487222',
    950: '#000000',
  },
}
SCSS
$custom: #487222;
$custom-light: #7e9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#487222",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 91.5,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50356,
    "c": 0.11906,
    "h": 133
  },
  "luminance": 0.13528
}

Semantic roles & 50–950 ramp

primary
#487222
secondary
#7A4BA5
accent
#4ADD98
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487222

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

Preview Lab → · Contrast checker → · Palette generator →

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