#487F28#487F28

#487F28 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.133 H 136.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#487F28
RGBrgb(72, 127, 40)
HSLhsl(98, 52%, 33%)
HSVhsv(98, 69%, 50%)
CMYKcmyk(43.3%, 0%, 68.5%, 50.2%)
CIE-LABlab(47.89, -34.38, 40.14)
CIE-LCHlch(47.89, 52.86, 130.58°)
OKLaboklab(53.92% -0.0955 0.0921)
OKLCHoklch(53.92% 0.133 136)
XYZxyz(10.6446, 16.7091, 4.6714)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F28 #5F287F
analogous
#737F28 #487F28 #287F33
triadic
#487F28 #28487F #7F2848
tetradic
#487F28 #28737F #5F287F #7F3328
square
#487F28 #28737F #5F287F #7F3328
split-complementary
#487F28 #33287F #7F2873
monochromatic
#13220B #2E5019 #487F28 #62AE37 #82CA57

Accessibility & contrast

On white

4.84
#487F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#487F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F28
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F28#FFFFFF#000000##FFFFFF
##487F281.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#467A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #487f28;
/* rgb */ color: rgb(72, 127, 40);
/* oklch */ color: oklch(53.9% 0.133 136.0);
Tailwind
colors: {
  custom: {
    50: '#80a467',
    500: '#487f28',
    950: '#000000',
  },
}
SCSS
$custom: #487f28;
$custom-light: #80a467;
$custom-dark: #000000;
JSON
{
  "hex": "#487f28",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 97.931,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53922,
    "c": 0.13262,
    "h": 136
  },
  "luminance": 0.1671
}

Semantic roles & 50–950 ramp

primary
#487F28
secondary
#8E54AF
accent
#4CDCA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487F28

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

Preview Lab → · Contrast checker → · Palette generator →

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