#487E21#487E21

#487E21 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.136 H 135.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#487E21
RGBrgb(72, 126, 33)
HSLhsl(95, 58%, 31%)
HSVhsv(95, 74%, 49%)
CMYKcmyk(42.9%, 0%, 73.8%, 50.6%)
CIE-LABlab(47.51, -34.53, 42.69)
CIE-LCHlch(47.51, 54.91, 128.96°)
OKLaboklab(53.59% -0.0964 0.0964)
OKLCHoklch(53.59% 0.136 135)
XYZxyz(10.4076, 16.4087, 4.0573)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E21 #57217E
analogous
#767E21 #487E21 #217E28
triadic
#487E21 #21487E #7E2148
tetradic
#487E21 #21767E #57217E #7E2821
square
#487E21 #21767E #57217E #7E2821
split-complementary
#487E21 #28217E #7E2176
monochromatic
#111D08 #2C4E14 #487E21 #64AE2E #82D04A

Accessibility & contrast

On white

4.90
#487E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#487E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E21
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E21#FFFFFF#000000##FFFFFF
##487E211.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837311
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#47796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e21;
/* rgb */ color: rgb(72, 126, 33);
/* oklch */ color: oklch(53.6% 0.136 135.0);
Tailwind
colors: {
  custom: {
    50: '#80a463',
    500: '#487e21',
    950: '#000000',
  },
}
SCSS
$custom: #487e21;
$custom-light: #80a463;
$custom-dark: #000000;
JSON
{
  "hex": "#487e21",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 33
  },
  "hsl": {
    "h": 94.839,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.13633,
    "h": 135
  },
  "luminance": 0.16409
}

Semantic roles & 50–950 ramp

primary
#487E21
secondary
#864AB1
accent
#46E2A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #487E21

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

Preview Lab → · Contrast checker → · Palette generator →

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