#487E28#487E28

#487E28 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.131 H 135.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#487E28
RGBrgb(72, 126, 40)
HSLhsl(98, 52%, 33%)
HSVhsv(98, 68%, 49%)
CMYKcmyk(42.9%, 0%, 68.3%, 50.6%)
CIE-LABlab(47.56, -33.94, 39.79)
CIE-LCHlch(47.56, 52.30, 130.46°)
OKLaboklab(53.65% -0.0942 0.0913)
OKLCHoklch(53.65% 0.131 135.9)
XYZxyz(10.5161, 16.4520, 4.6285)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E28 #5E287E
analogous
#737E28 #487E28 #287E33
triadic
#487E28 #28487E #7E2848
tetradic
#487E28 #28737E #5E287E #7E3328
square
#487E28 #28737E #5E287E #7E3328
split-complementary
#487E28 #33287E #7E2873
monochromatic
#13210B #2D5019 #487E28 #63AC37 #82CA57

Accessibility & contrast

On white

4.89
#487E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#487E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E28
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E28#FFFFFF#000000##FFFFFF
##487E281.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741D
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#46796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e28;
/* rgb */ color: rgb(72, 126, 40);
/* oklch */ color: oklch(53.7% 0.131 135.9);
Tailwind
colors: {
  custom: {
    50: '#7fa466',
    500: '#487e28',
    950: '#000000',
  },
}
SCSS
$custom: #487e28;
$custom-light: #7fa466;
$custom-dark: #000000;
JSON
{
  "hex": "#487e28",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 97.674,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53653,
    "c": 0.13123,
    "h": 135.9
  },
  "luminance": 0.16453
}

Semantic roles & 50–950 ramp

primary
#487E28
secondary
#8D53AF
accent
#4DDBA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487E28

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

Preview Lab → · Contrast checker → · Palette generator →

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