#487A24#487A24

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

Color values

HEX#487A24
RGBrgb(72, 122, 36)
HSLhsl(95, 54%, 31%)
HSVhsv(95, 70%, 48%)
CMYKcmyk(41%, 0%, 70.5%, 52.2%)
CIE-LABlab(46.21, -32.49, 40.10)
CIE-LCHlch(46.21, 51.62, 129.01°)
OKLaboklab(52.54% -0.0906 0.0914)
OKLCHoklch(52.54% 0.129 134.7)
XYZxyz(9.9502, 15.4237, 4.1215)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A24 #56247A
analogous
#737A24 #487A24 #247A2B
triadic
#487A24 #24487A #7A2448
tetradic
#487A24 #24737A #56247A #7A2B24
square
#487A24 #24737A #56247A #7A2B24
split-complementary
#487A24 #2B247A #7A2473
monochromatic
#101B08 #2C4B16 #487A24 #64A932 #82CB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487A24#FFFFFF#000000##FFFFFF
##487A241.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)
#7F7018
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#477569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a24;
/* rgb */ color: rgb(72, 122, 36);
/* oklch */ color: oklch(52.5% 0.129 134.7);
Tailwind
colors: {
  custom: {
    50: '#7fa164',
    500: '#487a24',
    950: '#000000',
  },
}
SCSS
$custom: #487a24;
$custom-light: #7fa164;
$custom-dark: #000000;
JSON
{
  "hex": "#487a24",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 94.884,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.12874,
    "h": 134.7
  },
  "luminance": 0.15424
}

Semantic roles & 50–950 ramp

primary
#487A24
secondary
#854DAC
accent
#4ADEA0
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #487A24

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

Preview Lab → · Contrast checker → · Palette generator →

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