#487D23#487D23

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

Color values

HEX#487D23
RGBrgb(72, 125, 35)
HSLhsl(95, 56%, 31%)
HSVhsv(95, 72%, 49%)
CMYKcmyk(42.4%, 0%, 72%, 51%)
CIE-LABlab(47.19, -33.92, 41.55)
CIE-LCHlch(47.19, 53.64, 129.23°)
OKLaboklab(53.34% -0.0946 0.0943)
OKLCHoklch(53.34% 0.134 135.1)
XYZxyz(10.3092, 16.1657, 4.1669)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D23 #58237D
analogous
#757D23 #487D23 #237D2B
triadic
#487D23 #23487D #7D2348
tetradic
#487D23 #23757D #58237D #7D2B23
square
#487D23 #23757D #58237D #7D2B23
split-complementary
#487D23 #2B237D #7D2375
monochromatic
#111D08 #2C4D16 #487D23 #64AD30 #82CD4D

Accessibility & contrast

On white

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

On black

4.23
#487D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487D23#FFFFFF#000000##FFFFFF
##487D231.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#7B6E2B
Tritanopia (blue-blind)
#47786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d23;
/* rgb */ color: rgb(72, 125, 35);
/* oklch */ color: oklch(53.3% 0.134 135.1);
Tailwind
colors: {
  custom: {
    50: '#80a363',
    500: '#487d23',
    950: '#000000',
  },
}
SCSS
$custom: #487d23;
$custom-light: #80a363;
$custom-dark: #000000;
JSON
{
  "hex": "#487d23",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 95.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.13359,
    "h": 135.1
  },
  "luminance": 0.16166
}

Semantic roles & 50–950 ramp

primary
#487D23
secondary
#874CAF
accent
#48E0A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #487D23

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

Preview Lab → · Contrast checker → · Palette generator →

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