#487B22#487B22

#487B22 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.8% C 0.132 H 134.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#487B22
RGBrgb(72, 123, 34)
HSLhsl(94, 57%, 31%)
HSVhsv(94, 72%, 48%)
CMYKcmyk(41.5%, 0%, 72.4%, 51.8%)
CIE-LABlab(46.52, -33.11, 41.28)
CIE-LCHlch(46.52, 52.92, 128.73°)
OKLaboklab(52.79% -0.0925 0.0936)
OKLCHoklch(52.79% 0.132 134.6)
XYZxyz(10.0440, 15.6586, 4.0063)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B22 #55227B
analogous
#747B22 #487B22 #227B28
triadic
#487B22 #22487B #7B2248
tetradic
#487B22 #22747B #55227B #7B2822
square
#487B22 #22747B #55227B #7B2822
split-complementary
#487B22 #28227B #7B2274
monochromatic
#101B07 #2C4B15 #487B22 #64AB2F #82CD4A

Accessibility & contrast

On white

5.08
#487B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#487B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B22
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B22#FFFFFF#000000##FFFFFF
##487B221.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#477669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b22;
/* rgb */ color: rgb(72, 123, 34);
/* oklch */ color: oklch(52.8% 0.132 134.6);
Tailwind
colors: {
  custom: {
    50: '#7fa163',
    500: '#487b22',
    950: '#000000',
  },
}
SCSS
$custom: #487b22;
$custom-light: #7fa163;
$custom-dark: #000000;
JSON
{
  "hex": "#487b22",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 94.382,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.13157,
    "h": 134.6
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#487B22
secondary
#844BAE
accent
#48E09F
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #487B22

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

Preview Lab → · Contrast checker → · Palette generator →

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