#487A22#487A22

#487A22 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.130 H 134.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#487A22
RGBrgb(72, 122, 34)
HSLhsl(94, 56%, 31%)
HSVhsv(94, 72%, 48%)
CMYKcmyk(41%, 0%, 72.1%, 52.2%)
CIE-LABlab(46.19, -32.66, 40.94)
CIE-LCHlch(46.19, 52.37, 128.58°)
OKLaboklab(52.52% -0.0912 0.0929)
OKLCHoklch(52.52% 0.13 134.5)
XYZxyz(9.9206, 15.4118, 3.9651)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A22 #54227A
analogous
#747A22 #487A22 #227A28
triadic
#487A22 #22487A #7A2248
tetradic
#487A22 #22747A #54227A #7A2822
square
#487A22 #22747A #54227A #7A2822
split-complementary
#487A22 #28227A #7A2274
monochromatic
#101A07 #2C4A15 #487A22 #64AA2F #82CD4A

Accessibility & contrast

On white

5.14
#487A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#487A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A22
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A22#FFFFFF#000000##FFFFFF
##487A221.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#477568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a22;
/* rgb */ color: rgb(72, 122, 34);
/* oklch */ color: oklch(52.5% 0.130 134.5);
Tailwind
colors: {
  custom: {
    50: '#7fa163',
    500: '#487a22',
    950: '#000000',
  },
}
SCSS
$custom: #487a22;
$custom-light: #7fa163;
$custom-dark: #000000;
JSON
{
  "hex": "#487a22",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 94.091,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52517,
    "c": 0.13021,
    "h": 134.5
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#487A22
secondary
#834BAD
accent
#48E09E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #487A22

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

Preview Lab → · Contrast checker → · Palette generator →

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