#487213#487213

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

Color values

HEX#487213
RGBrgb(72, 114, 19)
HSLhsl(87, 71%, 26%)
HSVhsv(87, 83%, 45%)
CMYKcmyk(36.8%, 0%, 83.3%, 55.3%)
CIE-LABlab(43.45, -29.98, 43.82)
CIE-LCHlch(43.45, 53.09, 124.38°)
OKLaboklab(50.24% -0.0851 0.0965)
OKLCHoklch(50.24% 0.129 131.4)
XYZxyz(8.8073, 13.4590, 2.7498)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487213 #3D1372
analogous
#726C13 #487213 #187213
triadic
#487213 #134872 #721348
tetradic
#487213 #13726C #3D1372 #721318
square
#487213 #13726C #3D1372 #721318
split-complementary
#487213 #131872 #6C1372
monochromatic
#111A04 #273E0A #487213 #69A61C #8ADB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487213#FFFFFF#000000##FFFFFF
##4872131.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: #487213;
/* rgb */ color: rgb(72, 114, 19);
/* oklch */ color: oklch(50.2% 0.129 131.4);
Tailwind
colors: {
  custom: {
    50: '#7f9b5a',
    500: '#487213',
    950: '#000000',
  },
}
SCSS
$custom: #487213;
$custom-light: #7f9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#487213",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 86.526,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50242,
    "c": 0.12871,
    "h": 131.4
  },
  "luminance": 0.13459
}

Semantic roles & 50–950 ramp

primary
#487213
secondary
#6A38A9
accent
#3AEE89
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487213

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

Preview Lab → · Contrast checker → · Palette generator →

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