#487C28#487C28

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

Color values

HEX#487C28
RGBrgb(72, 124, 40)
HSLhsl(97, 51%, 32%)
HSVhsv(97, 68%, 49%)
CMYKcmyk(41.9%, 0%, 67.7%, 51.4%)
CIE-LABlab(46.90, -33.04, 39.08)
CIE-LCHlch(46.90, 51.18, 130.21°)
OKLaboklab(53.11% -0.0918 0.0898)
OKLCHoklch(53.11% 0.128 135.6)
XYZxyz(10.2629, 15.9457, 4.5441)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C28 #5C287C
analogous
#727C28 #487C28 #287C32
triadic
#487C28 #28487C #7C2848
tetradic
#487C28 #28727C #5C287C #7C3228
square
#487C28 #28727C #5C287C #7C3228
split-complementary
#487C28 #32287C #7C2872
monochromatic
#121F0A #2D4E19 #487C28 #63AA37 #82C856

Accessibility & contrast

On white

5.01
#487C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#487C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C28
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C28#FFFFFF#000000##FFFFFF
##487C281.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#796E2F
Tritanopia (blue-blind)
#46776B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c28;
/* rgb */ color: rgb(72, 124, 40);
/* oklch */ color: oklch(53.1% 0.128 135.6);
Tailwind
colors: {
  custom: {
    50: '#7fa266',
    500: '#487c28',
    950: '#000000',
  },
}
SCSS
$custom: #487c28;
$custom-light: #7fa266;
$custom-dark: #000000;
JSON
{
  "hex": "#487c28",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 97.143,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53114,
    "c": 0.12844,
    "h": 135.6
  },
  "luminance": 0.15946
}

Semantic roles & 50–950 ramp

primary
#487C28
secondary
#8B52AD
accent
#4DDBA5
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487C28

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

Preview Lab → · Contrast checker → · Palette generator →

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