#487D26#487D26

#487D26 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.131 H 135.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#487D26
RGBrgb(72, 125, 38)
HSLhsl(97, 53%, 32%)
HSVhsv(97, 70%, 49%)
CMYKcmyk(42.4%, 0%, 69.6%, 51%)
CIE-LABlab(47.22, -33.67, 40.30)
CIE-LCHlch(47.22, 52.51, 129.88°)
OKLaboklab(53.36% -0.0937 0.0921)
OKLCHoklch(53.36% 0.131 135.5)
XYZxyz(10.3557, 16.1843, 4.4116)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D26 #5B267D
analogous
#747D26 #487D26 #267D30
triadic
#487D26 #26487D #7D2648
tetradic
#487D26 #26747D #5B267D #7D3026
square
#487D26 #26747D #5B267D #7D3026
split-complementary
#487D26 #30267D #7D2674
monochromatic
#121F09 #2D4E18 #487D26 #63AC34 #82CB53

Accessibility & contrast

On white

4.96
#487D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#487D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D26
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D26#FFFFFF#000000##FFFFFF
##487D261.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#47786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d26;
/* rgb */ color: rgb(72, 125, 38);
/* oklch */ color: oklch(53.4% 0.131 135.5);
Tailwind
colors: {
  custom: {
    50: '#7fa365',
    500: '#487d26',
    950: '#000000',
  },
}
SCSS
$custom: #487d26;
$custom-light: #7fa365;
$custom-dark: #000000;
JSON
{
  "hex": "#487d26",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 96.552,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.13139,
    "h": 135.5
  },
  "luminance": 0.16185
}

Semantic roles & 50–950 ramp

primary
#487D26
secondary
#8A50AF
accent
#4BDDA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487D26

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

Preview Lab → · Contrast checker → · Palette generator →

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