#487D2B#487D2B

#487D2B is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.127 H 136.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#487D2B
RGBrgb(72, 125, 43)
HSLhsl(99, 49%, 33%)
HSVhsv(99, 66%, 49%)
CMYKcmyk(42.4%, 0%, 65.6%, 51%)
CIE-LABlab(47.26, -33.20, 38.10)
CIE-LCHlch(47.26, 50.54, 131.07°)
OKLaboklab(53.42% -0.092 0.0881)
OKLCHoklch(53.42% 0.127 136.2)
XYZxyz(10.4419, 16.2188, 4.8654)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D2B #602B7D
analogous
#717D2B #487D2B #2B7D37
triadic
#487D2B #2B487D #7D2B48
tetradic
#487D2B #2B717D #602B7D #7D372B
square
#487D2B #2B717D #602B7D #7D372B
split-complementary
#487D2B #372B7D #7D2B71
monochromatic
#14220C #2E4F1B #487D2B #62AB3B #82C75C

Accessibility & contrast

On white

4.95
#487D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#487D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D2B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D2B#FFFFFF#000000##FFFFFF
##487D2B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817321
Deuteranopia (green-blind)
#7A6E32
Tritanopia (blue-blind)
#46786C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d2b;
/* rgb */ color: rgb(72, 125, 43);
/* oklch */ color: oklch(53.4% 0.127 136.2);
Tailwind
colors: {
  custom: {
    50: '#7fa368',
    500: '#487d2b',
    950: '#000000',
  },
}
SCSS
$custom: #487d2b;
$custom-light: #7fa368;
$custom-dark: #000000;
JSON
{
  "hex": "#487d2b",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 98.78,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53415,
    "c": 0.12741,
    "h": 136.2
  },
  "luminance": 0.16219
}

Semantic roles & 50–950 ramp

primary
#487D2B
secondary
#8E57AD
accent
#4FD8A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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