#487C23#487C23

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

Color values

HEX#487C23
RGBrgb(72, 124, 35)
HSLhsl(95, 56%, 31%)
HSVhsv(95, 72%, 49%)
CMYKcmyk(41.9%, 0%, 71.8%, 51.4%)
CIE-LABlab(46.86, -33.48, 41.21)
CIE-LCHlch(46.86, 53.09, 129.09°)
OKLaboklab(53.07% -0.0934 0.0936)
OKLCHoklch(53.07% 0.132 134.9)
XYZxyz(10.1833, 15.9138, 4.1249)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C23 #57237C
analogous
#747C23 #487C23 #237C2A
triadic
#487C23 #23487C #7C2348
tetradic
#487C23 #23747C #57237C #7C2A23
square
#487C23 #23747C #57237C #7C2A23
split-complementary
#487C23 #2A237C #7C2374
monochromatic
#111D08 #2C4C16 #487C23 #64AC30 #82CD4D

Accessibility & contrast

On white

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

On black

4.18
#487C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487C23#FFFFFF#000000##FFFFFF
##487C231.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #487c23;
/* rgb */ color: rgb(72, 124, 35);
/* oklch */ color: oklch(53.1% 0.132 134.9);
Tailwind
colors: {
  custom: {
    50: '#80a263',
    500: '#487c23',
    950: '#000000',
  },
}
SCSS
$custom: #487c23;
$custom-light: #80a263;
$custom-dark: #000000;
JSON
{
  "hex": "#487c23",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 95.056,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53066,
    "c": 0.13224,
    "h": 134.9
  },
  "luminance": 0.15914
}

Semantic roles & 50–950 ramp

primary
#487C23
secondary
#864CAF
accent
#49DFA1
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487C23

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

Preview Lab → · Contrast checker → · Palette generator →

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