#487C25#487C25

#487C25 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.131 H 135.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#487C25
RGBrgb(72, 124, 37)
HSLhsl(96, 54%, 32%)
HSVhsv(96, 70%, 49%)
CMYKcmyk(41.9%, 0%, 70.2%, 51.4%)
CIE-LABlab(46.88, -33.31, 40.38)
CIE-LCHlch(46.88, 52.34, 129.52°)
OKLaboklab(53.08% -0.0928 0.0922)
OKLCHoklch(53.08% 0.131 135.2)
XYZxyz(10.2138, 15.9261, 4.2858)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C25 #59257C
analogous
#747C25 #487C25 #257C2E
triadic
#487C25 #25487C #7C2548
tetradic
#487C25 #25747C #59257C #7C2E25
square
#487C25 #25747C #59257C #7C2E25
split-complementary
#487C25 #2E257C #7C2574
monochromatic
#111E09 #2D4D17 #487C25 #63AB33 #82CB50

Accessibility & contrast

On white

5.02
#487C25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#487C25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C25
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C25#FFFFFF#000000##FFFFFF
##487C251.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817219
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#47776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c25;
/* rgb */ color: rgb(72, 124, 37);
/* oklch */ color: oklch(53.1% 0.131 135.2);
Tailwind
colors: {
  custom: {
    50: '#7fa264',
    500: '#487c25',
    950: '#000000',
  },
}
SCSS
$custom: #487c25;
$custom-light: #7fa264;
$custom-dark: #000000;
JSON
{
  "hex": "#487c25",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 95.862,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.13076,
    "h": 135.2
  },
  "luminance": 0.15927
}

Semantic roles & 50–950 ramp

primary
#487C25
secondary
#884FAE
accent
#4ADDA2
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487C25

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

Preview Lab → · Contrast checker → · Palette generator →

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