#487214#487214

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

Color values

HEX#487214
RGBrgb(72, 114, 20)
HSLhsl(87, 70%, 26%)
HSVhsv(87, 82%, 45%)
CMYKcmyk(36.8%, 0%, 82.5%, 55.3%)
CIE-LABlab(43.45, -29.93, 43.50)
CIE-LCHlch(43.45, 52.80, 124.53°)
OKLaboklab(50.25% -0.0849 0.096)
OKLCHoklch(50.25% 0.128 131.5)
XYZxyz(8.8160, 13.4625, 2.7957)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487214 #3E1472
analogous
#726D14 #487214 #197214
triadic
#487214 #144872 #721448
tetradic
#487214 #14726D #3E1472 #721419
square
#487214 #14726D #3E1472 #721419
split-complementary
#487214 #141972 #6D1472
monochromatic
#101A05 #273E0B #487214 #69A61D #8AD927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487214#FFFFFF#000000##FFFFFF
##4872141.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)
#72661E
Tritanopia (blue-blind)
#496D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487214;
/* rgb */ color: rgb(72, 114, 20);
/* oklch */ color: oklch(50.2% 0.128 131.5);
Tailwind
colors: {
  custom: {
    50: '#7f9b5b',
    500: '#487214',
    950: '#000000',
  },
}
SCSS
$custom: #487214;
$custom-light: #7f9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#487214",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 86.809,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50248,
    "c": 0.1282,
    "h": 131.5
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#487214
secondary
#6B39A8
accent
#3BED8A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487214

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

Preview Lab → · Contrast checker → · Palette generator →

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