#487310#487310

#487310 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.5% C 0.131 H 131.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#487310
RGBrgb(72, 115, 16)
HSLhsl(86, 76%, 26%)
HSVhsv(86, 86%, 45%)
CMYKcmyk(37.4%, 0%, 86.1%, 54.9%)
CIE-LABlab(43.76, -30.59, 45.00)
CIE-LCHlch(43.76, 54.41, 124.20°)
OKLaboklab(50.5% -0.087 0.0985)
OKLCHoklch(50.5% 0.131 131.4)
XYZxyz(8.8967, 13.6762, 2.6611)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487310 #3B1073
analogous
#736C10 #487310 #167310
triadic
#487310 #104873 #731048
tetradic
#487310 #10736C #3B1073 #731016
square
#487310 #10736C #3B1073 #731016
split-complementary
#487310 #101673 #6C1073
monochromatic
#111B04 #263D09 #487310 #6AA917 #8BDE1F

Accessibility & contrast

On white

5.62
#487310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#487310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487310
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487310#FFFFFF#000000##FFFFFF
##4873101.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#73661C
Tritanopia (blue-blind)
#496E61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487310;
/* rgb */ color: rgb(72, 115, 16);
/* oklch */ color: oklch(50.5% 0.131 131.4);
Tailwind
colors: {
  custom: {
    50: '#7f9b59',
    500: '#487310',
    950: '#000000',
  },
}
SCSS
$custom: #487310;
$custom-light: #7f9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#487310",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 86.061,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.13142,
    "h": 131.4
  },
  "luminance": 0.13677
}

Semantic roles & 50–950 ramp

primary
#487310
secondary
#6834AA
accent
#36F288
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #487310

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

Preview Lab → · Contrast checker → · Palette generator →

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