#487B25#487B25

#487B25 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.8% C 0.129 H 135.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#487B25
RGBrgb(72, 123, 37)
HSLhsl(96, 54%, 31%)
HSVhsv(96, 70%, 48%)
CMYKcmyk(41.5%, 0%, 69.9%, 51.8%)
CIE-LABlab(46.55, -32.86, 40.03)
CIE-LCHlch(46.55, 51.79, 129.38°)
OKLaboklab(52.82% -0.0916 0.0914)
OKLCHoklch(52.82% 0.129 135)
XYZxyz(10.0892, 15.6767, 4.2442)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B25 #58257B
analogous
#737B25 #487B25 #257B2D
triadic
#487B25 #25487B #7B2548
tetradic
#487B25 #25737B #58257B #7B2D25
square
#487B25 #25737B #58257B #7B2D25
split-complementary
#487B25 #2D257B #7B2573
monochromatic
#111D09 #2C4C17 #487B25 #64AA33 #82CA50

Accessibility & contrast

On white

5.08
#487B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#487B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B25
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B25#FFFFFF#000000##FFFFFF
##487B251.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807119
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#47766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b25;
/* rgb */ color: rgb(72, 123, 37);
/* oklch */ color: oklch(52.8% 0.129 135.0);
Tailwind
colors: {
  custom: {
    50: '#7fa164',
    500: '#487b25',
    950: '#000000',
  },
}
SCSS
$custom: #487b25;
$custom-light: #7fa164;
$custom-dark: #000000;
JSON
{
  "hex": "#487b25",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 95.581,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.12938,
    "h": 135
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#487B25
secondary
#874FAD
accent
#4BDDA2
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487B25

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

Preview Lab → · Contrast checker → · Palette generator →

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