#487A28#487A28

#487A28 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.126 H 135.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#487A28
RGBrgb(72, 122, 40)
HSLhsl(97, 51%, 32%)
HSVhsv(97, 67%, 48%)
CMYKcmyk(41%, 0%, 67.2%, 52.2%)
CIE-LABlab(46.24, -32.13, 38.37)
CIE-LCHlch(46.24, 50.05, 129.95°)
OKLaboklab(52.58% -0.0893 0.0883)
OKLCHoklch(52.58% 0.126 135.3)
XYZxyz(10.0148, 15.4495, 4.4614)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A28 #5A287A
analogous
#717A28 #487A28 #287A31
triadic
#487A28 #28487A #7A2848
tetradic
#487A28 #28717A #5A287A #7A3128
square
#487A28 #28717A #5A287A #7A3128
split-complementary
#487A28 #31287A #7A2871
monochromatic
#121E0A #2D4C19 #487A28 #63A837 #82C755

Accessibility & contrast

On white

5.13
#487A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#487A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A28
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A28#FFFFFF#000000##FFFFFF
##487A281.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701E
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#477569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487a28;
/* rgb */ color: rgb(72, 122, 40);
/* oklch */ color: oklch(52.6% 0.126 135.3);
Tailwind
colors: {
  custom: {
    50: '#7fa166',
    500: '#487a28',
    950: '#000000',
  },
}
SCSS
$custom: #487a28;
$custom-light: #7fa166;
$custom-dark: #000000;
JSON
{
  "hex": "#487a28",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 96.585,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.12562,
    "h": 135.3
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#487A28
secondary
#8952AC
accent
#4EDAA3
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #487A28

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

Preview Lab → · Contrast checker → · Palette generator →

#487A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva