#487112#487112

#487112 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.128 H 131.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#487112
RGBrgb(72, 113, 18)
HSLhsl(86, 73%, 26%)
HSVhsv(86, 84%, 44%)
CMYKcmyk(36.3%, 0%, 84.1%, 55.7%)
CIE-LABlab(43.11, -29.56, 43.82)
CIE-LCHlch(43.11, 52.86, 124.00°)
OKLaboklab(49.97% -0.0841 0.0964)
OKLCHoklch(49.97% 0.128 131.1)
XYZxyz(8.6867, 13.2313, 2.6684)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487112 #3B1271
analogous
#716A12 #487112 #187112
triadic
#487112 #124871 #711248
tetradic
#487112 #12716A #3B1271 #711218
square
#487112 #12716A #3B1271 #711218
split-complementary
#487112 #121871 #6A1271
monochromatic
#111A04 #263C0A #487112 #6AA61A #8BDB23

Accessibility & contrast

On white

5.76
#487112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#487112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487112
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487112#FFFFFF#000000##FFFFFF
##4871121.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#4A6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487112;
/* rgb */ color: rgb(72, 113, 18);
/* oklch */ color: oklch(50.0% 0.128 131.1);
Tailwind
colors: {
  custom: {
    50: '#7f9a5a',
    500: '#487112',
    950: '#000000',
  },
}
SCSS
$custom: #487112;
$custom-light: #7f9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#487112",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 85.895,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49965,
    "c": 0.12789,
    "h": 131.1
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#487112
secondary
#6837A8
accent
#39EF87
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487112

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

Preview Lab → · Contrast checker → · Palette generator →

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