#487122#487122

#487122 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.118 H 132.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#487122
RGBrgb(72, 113, 34)
HSLhsl(91, 54%, 29%)
HSVhsv(91, 70%, 44%)
CMYKcmyk(36.3%, 0%, 69.9%, 55.7%)
CIE-LABlab(43.22, -28.48, 37.82)
CIE-LCHlch(43.22, 47.35, 126.98°)
OKLaboklab(50.09% -0.0799 0.0864)
OKLCHoklch(50.09% 0.118 132.8)
XYZxyz(8.8662, 13.3031, 3.6137)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487122 #4B2271
analogous
#707122 #487122 #227124
triadic
#487122 #224871 #712248
tetradic
#487122 #227071 #4B2271 #712422
square
#487122 #227071 #4B2271 #712422
split-complementary
#487122 #242271 #712270
monochromatic
#0F1807 #2A4214 #487122 #66A030 #84C746

Accessibility & contrast

On white

5.74
#487122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#487122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487122
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487122#FFFFFF#000000##FFFFFF
##4871221.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766817
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#496C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487122;
/* rgb */ color: rgb(72, 113, 34);
/* oklch */ color: oklch(50.1% 0.118 132.8);
Tailwind
colors: {
  custom: {
    50: '#7e9a62',
    500: '#487122',
    950: '#000000',
  },
}
SCSS
$custom: #487122;
$custom-light: #7e9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#487122",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 91.139,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50086,
    "c": 0.11764,
    "h": 132.8
  },
  "luminance": 0.13303
}

Semantic roles & 50–950 ramp

primary
#487122
secondary
#794AA4
accent
#4BDD97
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487122

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

Preview Lab → · Contrast checker → · Palette generator →

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