#487F27#487F27

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

Color values

HEX#487F27
RGBrgb(72, 127, 39)
HSLhsl(98, 53%, 33%)
HSVhsv(98, 69%, 50%)
CMYKcmyk(43.3%, 0%, 69.3%, 50.2%)
CIE-LABlab(47.88, -34.47, 40.57)
CIE-LCHlch(47.88, 53.24, 130.35°)
OKLaboklab(53.91% -0.0958 0.0928)
OKLCHoklch(53.91% 0.133 135.9)
XYZxyz(10.6278, 16.7024, 4.5829)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F27 #5E277F
analogous
#747F27 #487F27 #277F32
triadic
#487F27 #27487F #7F2748
tetradic
#487F27 #27747F #5E277F #7F3227
square
#487F27 #27747F #5E277F #7F3227
split-complementary
#487F27 #32277F #7F2774
monochromatic
#13210A #2D5019 #487F27 #63AE35 #82CB55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487F27#FFFFFF#000000##FFFFFF
##487F271.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)
#84751B
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#467A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #487f27;
/* rgb */ color: rgb(72, 127, 39);
/* oklch */ color: oklch(53.9% 0.133 135.9);
Tailwind
colors: {
  custom: {
    50: '#80a466',
    500: '#487f27',
    950: '#000000',
  },
}
SCSS
$custom: #487f27;
$custom-light: #80a466;
$custom-dark: #000000;
JSON
{
  "hex": "#487f27",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 97.5,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53913,
    "c": 0.13339,
    "h": 135.9
  },
  "luminance": 0.16703
}

Semantic roles & 50–950 ramp

primary
#487F27
secondary
#8D52B0
accent
#4BDCA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #487F27

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

Preview Lab → · Contrast checker → · Palette generator →

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