#487A2B#487A2B

#487A2B is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.6% C 0.123 H 135.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#487A2B
RGBrgb(72, 122, 43)
HSLhsl(98, 48%, 32%)
HSVhsv(98, 65%, 48%)
CMYKcmyk(41%, 0%, 64.8%, 52.2%)
CIE-LABlab(46.27, -31.84, 37.01)
CIE-LCHlch(46.27, 48.82, 130.71°)
OKLaboklab(52.61% -0.0883 0.0858)
OKLCHoklch(52.61% 0.123 135.8)
XYZxyz(10.0678, 15.4707, 4.7407)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A2B #5D2B7A
analogous
#6F7A2B #487A2B #2B7A36
triadic
#487A2B #2B487A #7A2B48
tetradic
#487A2B #2B6F7A #5D2B7A #7A362B
square
#487A2B #2B6F7A #5D2B7A #7A362B
split-complementary
#487A2B #362B7A #7A2B6F
monochromatic
#131F0B #2D4D1B #487A2B #63A73B #82C55A

Accessibility & contrast

On white

5.13
#487A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#487A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A2B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A2B#FFFFFF#000000##FFFFFF
##487A2B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#467669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487a2b;
/* rgb */ color: rgb(72, 122, 43);
/* oklch */ color: oklch(52.6% 0.123 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa168',
    500: '#487a2b',
    950: '#000000',
  },
}
SCSS
$custom: #487a2b;
$custom-light: #7fa168;
$custom-dark: #000000;
JSON
{
  "hex": "#487a2b",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 97.975,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.12312,
    "h": 135.8
  },
  "luminance": 0.15471
}

Semantic roles & 50–950 ramp

primary
#487A2B
secondary
#8C56AB
accent
#50D7A6
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #487A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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