#487A25#487A25

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

Color values

HEX#487A25
RGBrgb(72, 122, 37)
HSLhsl(95, 53%, 31%)
HSVhsv(95, 70%, 48%)
CMYKcmyk(41%, 0%, 69.7%, 52.2%)
CIE-LABlab(46.22, -32.41, 39.68)
CIE-LCHlch(46.22, 51.23, 129.24°)
OKLaboklab(52.54% -0.0903 0.0907)
OKLCHoklch(52.54% 0.128 134.9)
XYZxyz(9.9657, 15.4299, 4.2031)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A25 #57257A
analogous
#727A25 #487A25 #257A2C
triadic
#487A25 #25487A #7A2548
tetradic
#487A25 #25727A #57257A #7A2C25
square
#487A25 #25727A #57257A #7A2C25
split-complementary
#487A25 #2C257A #7A2572
monochromatic
#111C09 #2C4B17 #487A25 #64A933 #82CA50

Accessibility & contrast

On white

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

On black

4.09
#487A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487A25#FFFFFF#000000##FFFFFF
##487A251.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7019
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#477569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a25;
/* rgb */ color: rgb(72, 122, 37);
/* oklch */ color: oklch(52.5% 0.128 134.9);
Tailwind
colors: {
  custom: {
    50: '#7fa164',
    500: '#487a25',
    950: '#000000',
  },
}
SCSS
$custom: #487a25;
$custom-light: #7fa164;
$custom-dark: #000000;
JSON
{
  "hex": "#487a25",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 95.294,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.12798,
    "h": 134.9
  },
  "luminance": 0.1543
}

Semantic roles & 50–950 ramp

primary
#487A25
secondary
#864EAC
accent
#4BDDA1
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #487A25

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

Preview Lab → · Contrast checker → · Palette generator →

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