#487121#487121

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

Color values

HEX#487121
RGBrgb(72, 113, 33)
HSLhsl(91, 55%, 29%)
HSVhsv(91, 71%, 44%)
CMYKcmyk(36.3%, 0%, 70.8%, 55.7%)
CIE-LABlab(43.21, -28.57, 38.26)
CIE-LCHlch(43.21, 47.75, 126.75°)
OKLaboklab(50.08% -0.0802 0.0871)
OKLCHoklch(50.08% 0.118 132.6)
XYZxyz(8.8520, 13.2974, 3.5388)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487121 #4A2171
analogous
#707121 #487121 #217122
triadic
#487121 #214871 #712148
tetradic
#487121 #217071 #4A2171 #712221
square
#487121 #217071 #4A2171 #712221
split-complementary
#487121 #222171 #712170
monochromatic
#0F1807 #2A4213 #487121 #66A02F #85C844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487121#FFFFFF#000000##FFFFFF
##4871211.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)
#766816
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#496C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487121;
/* rgb */ color: rgb(72, 113, 33);
/* oklch */ color: oklch(50.1% 0.118 132.6);
Tailwind
colors: {
  custom: {
    50: '#7e9a61',
    500: '#487121',
    950: '#000000',
  },
}
SCSS
$custom: #487121;
$custom-light: #7e9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#487121",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 90.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.11841,
    "h": 132.6
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#487121
secondary
#7849A5
accent
#4ADE96
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487121

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

Preview Lab → · Contrast checker → · Palette generator →

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