#487C2B#487C2B

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

Color values

HEX#487C2B
RGBrgb(72, 124, 43)
HSLhsl(99, 49%, 33%)
HSVhsv(99, 65%, 49%)
CMYKcmyk(41.9%, 0%, 65.3%, 51.4%)
CIE-LABlab(46.93, -32.75, 37.74)
CIE-LCHlch(46.93, 49.97, 130.96°)
OKLaboklab(53.15% -0.0908 0.0874)
OKLCHoklch(53.15% 0.126 136.1)
XYZxyz(10.3159, 15.9669, 4.8234)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C2B #5F2B7C
analogous
#707C2B #487C2B #2B7C37
triadic
#487C2B #2B487C #7C2B48
tetradic
#487C2B #2B707C #5F2B7C #7C372B
square
#487C2B #2B707C #5F2B7C #7C372B
split-complementary
#487C2B #372B7C #7C2B70
monochromatic
#13210B #2E4F1B #487C2B #62A93B #82C65B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487C2B#FFFFFF#000000##FFFFFF
##487C2B1.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)
#807221
Deuteranopia (green-blind)
#796E31
Tritanopia (blue-blind)
#46776B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c2b;
/* rgb */ color: rgb(72, 124, 43);
/* oklch */ color: oklch(53.1% 0.126 136.1);
Tailwind
colors: {
  custom: {
    50: '#7fa268',
    500: '#487c2b',
    950: '#000000',
  },
}
SCSS
$custom: #487c2b;
$custom-light: #7fa268;
$custom-dark: #000000;
JSON
{
  "hex": "#487c2b",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 98.519,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53146,
    "c": 0.12599,
    "h": 136.1
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#487C2B
secondary
#8E57AC
accent
#50D8A7
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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