#487E25#487E25

#487E25 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.134 H 135.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#487E25
RGBrgb(72, 126, 37)
HSLhsl(96, 55%, 32%)
HSVhsv(96, 71%, 49%)
CMYKcmyk(42.9%, 0%, 70.6%, 50.6%)
CIE-LABlab(47.54, -34.20, 41.07)
CIE-LCHlch(47.54, 53.45, 129.79°)
OKLaboklab(53.62% -0.0952 0.0936)
OKLCHoklch(53.62% 0.134 135.5)
XYZxyz(10.4670, 16.4324, 4.3702)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E25 #5B257E
analogous
#757E25 #487E25 #257E2E
triadic
#487E25 #25487E #7E2548
tetradic
#487E25 #25757E #5B257E #7E2E25
square
#487E25 #25757E #5B257E #7E2E25
split-complementary
#487E25 #2E257E #7E2575
monochromatic
#121F09 #2D4F17 #487E25 #63AD33 #82CC51

Accessibility & contrast

On white

4.90
#487E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#487E25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E25
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E25#FFFFFF#000000##FFFFFF
##487E251.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837418
Deuteranopia (green-blind)
#7B6F2D
Tritanopia (blue-blind)
#46796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e25;
/* rgb */ color: rgb(72, 126, 37);
/* oklch */ color: oklch(53.6% 0.134 135.5);
Tailwind
colors: {
  custom: {
    50: '#80a465',
    500: '#487e25',
    950: '#000000',
  },
}
SCSS
$custom: #487e25;
$custom-light: #80a465;
$custom-dark: #000000;
JSON
{
  "hex": "#487e25",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 96.404,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53624,
    "c": 0.13351,
    "h": 135.5
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#487E25
secondary
#8A4FB0
accent
#4ADEA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #487E25

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

Preview Lab → · Contrast checker → · Palette generator →

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