#487F25#487F25

#487F25 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.135 H 135.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#487F25
RGBrgb(72, 127, 37)
HSLhsl(97, 55%, 32%)
HSVhsv(97, 71%, 50%)
CMYKcmyk(43.3%, 0%, 70.9%, 50.2%)
CIE-LABlab(47.87, -34.65, 41.41)
CIE-LCHlch(47.87, 54.00, 129.92°)
OKLaboklab(53.89% -0.0964 0.0943)
OKLCHoklch(53.89% 0.135 135.6)
XYZxyz(10.5955, 16.6894, 4.4130)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F25 #5C257F
analogous
#757F25 #487F25 #257F2F
triadic
#487F25 #25487F #7F2548
tetradic
#487F25 #25757F #5C257F #7F2F25
square
#487F25 #25757F #5C257F #7F2F25
split-complementary
#487F25 #2F257F #7F2575
monochromatic
#122009 #2D5017 #487F25 #63AE33 #82CD52

Accessibility & contrast

On white

4.84
#487F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#487F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F25
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F25#FFFFFF#000000##FFFFFF
##487F251.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847418
Deuteranopia (green-blind)
#7C702D
Tritanopia (blue-blind)
#467A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #487f25;
/* rgb */ color: rgb(72, 127, 37);
/* oklch */ color: oklch(53.9% 0.135 135.6);
Tailwind
colors: {
  custom: {
    50: '#80a465',
    500: '#487f25',
    950: '#000000',
  },
}
SCSS
$custom: #487f25;
$custom-light: #80a465;
$custom-dark: #000000;
JSON
{
  "hex": "#487f25",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 96.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53894,
    "c": 0.13488,
    "h": 135.6
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #487F25

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

Preview Lab → · Contrast checker → · Palette generator →

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