#487227#487227

#487227 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.4% C 0.115 H 133.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#487227
RGBrgb(72, 114, 39)
HSLhsl(94, 49%, 30%)
HSVhsv(94, 66%, 45%)
CMYKcmyk(36.8%, 0%, 65.8%, 55.3%)
CIE-LABlab(43.59, -28.50, 35.94)
CIE-LCHlch(43.59, 45.86, 128.42°)
OKLaboklab(50.41% -0.0795 0.0831)
OKLCHoklch(50.41% 0.115 133.7)
XYZxyz(9.0558, 13.5584, 4.0590)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487227 #512772
analogous
#6E7227 #487227 #27722B
triadic
#487227 #274872 #722748
tetradic
#487227 #276E72 #512772 #722B27
square
#487227 #276E72 #512772 #722B27
split-complementary
#487227 #2B2772 #72276E
monochromatic
#0E1708 #2B4417 #487227 #65A037 #83C350

Accessibility & contrast

On white

5.66
#487227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487227
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487227#FFFFFF#000000##FFFFFF
##4872271.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691E
Deuteranopia (green-blind)
#71662D
Tritanopia (blue-blind)
#486E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487227;
/* rgb */ color: rgb(72, 114, 39);
/* oklch */ color: oklch(50.4% 0.115 133.7);
Tailwind
colors: {
  custom: {
    50: '#7e9b65',
    500: '#487227',
    950: '#000000',
  },
}
SCSS
$custom: #487227;
$custom-light: #7e9b65;
$custom-dark: #000000;
JSON
{
  "hex": "#487227",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 93.6,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.50408,
    "c": 0.11496,
    "h": 133.7
  },
  "luminance": 0.13559
}

Semantic roles & 50–950 ramp

primary
#487227
secondary
#7F50A4
accent
#4FD99C
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #487227

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

Preview Lab → · Contrast checker → · Palette generator →

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