#487E22#487E22

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

Color values

HEX#487E22
RGBrgb(72, 126, 34)
HSLhsl(95, 58%, 31%)
HSVhsv(95, 73%, 49%)
CMYKcmyk(42.9%, 0%, 73%, 50.6%)
CIE-LABlab(47.51, -34.45, 42.30)
CIE-LCHlch(47.51, 54.55, 129.16°)
OKLaboklab(53.6% -0.0961 0.0958)
OKLCHoklch(53.6% 0.136 135.1)
XYZxyz(10.4218, 16.4144, 4.1322)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E22 #58227E
analogous
#767E22 #487E22 #227E2A
triadic
#487E22 #22487E #7E2248
tetradic
#487E22 #22767E #58227E #7E2A22
square
#487E22 #22767E #58227E #7E2A22
split-complementary
#487E22 #2A227E #7E2276
monochromatic
#111E08 #2C4E15 #487E22 #64AE2F #82CF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487E22#FFFFFF#000000##FFFFFF
##487E221.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)
#837413
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#47796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e22;
/* rgb */ color: rgb(72, 126, 34);
/* oklch */ color: oklch(53.6% 0.136 135.1);
Tailwind
colors: {
  custom: {
    50: '#80a463',
    500: '#487e22',
    950: '#000000',
  },
}
SCSS
$custom: #487e22;
$custom-light: #80a463;
$custom-dark: #000000;
JSON
{
  "hex": "#487e22",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 95.217,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53598,
    "c": 0.13566,
    "h": 135.1
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#487E22
secondary
#874BB1
accent
#47E1A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #487E22

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

Preview Lab → · Contrast checker → · Palette generator →

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