#487211#487211

#487211 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.2% C 0.130 H 131.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#487211
RGBrgb(72, 114, 17)
HSLhsl(86, 74%, 26%)
HSVhsv(86, 85%, 45%)
CMYKcmyk(36.8%, 0%, 85.1%, 55.3%)
CIE-LABlab(43.44, -30.08, 44.42)
CIE-LCHlch(43.44, 53.64, 124.10°)
OKLaboklab(50.23% -0.0855 0.0975)
OKLCHoklch(50.23% 0.13 131.3)
XYZxyz(8.7909, 13.4525, 2.6636)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487211 #3B1172
analogous
#726B11 #487211 #187211
triadic
#487211 #114872 #721148
tetradic
#487211 #11726B #3B1172 #721118
square
#487211 #11726B #3B1172 #721118
split-complementary
#487211 #111872 #6B1172
monochromatic
#111B04 #263D09 #487211 #6AA719 #8BDD21

Accessibility & contrast

On white

5.69
#487211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#487211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487211
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487211#FFFFFF#000000##FFFFFF
##4872111.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#496D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487211;
/* rgb */ color: rgb(72, 114, 17);
/* oklch */ color: oklch(50.2% 0.130 131.3);
Tailwind
colors: {
  custom: {
    50: '#7f9b59',
    500: '#487211',
    950: '#000000',
  },
}
SCSS
$custom: #487211;
$custom-light: #7f9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#487211",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 85.979,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50231,
    "c": 0.12968,
    "h": 131.3
  },
  "luminance": 0.13453
}

Semantic roles & 50–950 ramp

primary
#487211
secondary
#6836A9
accent
#37F187
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487211

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

Preview Lab → · Contrast checker → · Palette generator →

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