#487512#487512

#487512 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.0% C 0.133 H 132.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#487512
RGBrgb(72, 117, 18)
HSLhsl(87, 73%, 26%)
HSVhsv(87, 85%, 46%)
CMYKcmyk(38.5%, 0%, 84.6%, 54.1%)
CIE-LABlab(44.44, -31.41, 45.03)
CIE-LCHlch(44.44, 54.90, 124.90°)
OKLaboklab(51.05% -0.0891 0.0989)
OKLCHoklch(51.05% 0.133 132)
XYZxyz(9.1429, 14.1436, 2.8204)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487512 #3F1275
analogous
#757112 #487512 #177512
triadic
#487512 #124875 #751248
tetradic
#487512 #127571 #3F1275 #751217
square
#487512 #127571 #3F1275 #751217
split-complementary
#487512 #121775 #711275
monochromatic
#101B04 #27400A #487512 #69AA1A #89DD24

Accessibility & contrast

On white

5.48
#487512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#487512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487512
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487512#FFFFFF#000000##FFFFFF
##4875121.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#497063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #487512;
/* rgb */ color: rgb(72, 117, 18);
/* oklch */ color: oklch(51.0% 0.133 132.0);
Tailwind
colors: {
  custom: {
    50: '#809d5a',
    500: '#487512',
    950: '#000000',
  },
}
SCSS
$custom: #487512;
$custom-light: #809d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#487512",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 87.273,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.5105,
    "c": 0.1331,
    "h": 132
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

primary
#487512
secondary
#6C37AC
accent
#38F08C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #487512

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

Preview Lab → · Contrast checker → · Palette generator →

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