#487B2B#487B2B

#487B2B is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.125 H 136.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#487B2B
RGBrgb(72, 123, 43)
HSLhsl(98, 48%, 33%)
HSVhsv(98, 65%, 48%)
CMYKcmyk(41.5%, 0%, 65%, 51.8%)
CIE-LABlab(46.60, -32.30, 37.37)
CIE-LCHlch(46.60, 49.39, 130.83°)
OKLaboklab(52.88% -0.0895 0.0866)
OKLCHoklch(52.88% 0.125 136)
XYZxyz(10.1912, 15.7175, 4.7818)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B2B #5E2B7B
analogous
#707B2B #487B2B #2B7B36
triadic
#487B2B #2B487B #7B2B48
tetradic
#487B2B #2B707B #5E2B7B #7B362B
square
#487B2B #2B707B #5E2B7B #7B362B
split-complementary
#487B2B #362B7B #7B2B70
monochromatic
#13200B #2D4E1B #487B2B #63A83B #82C65B

Accessibility & contrast

On white

5.07
#487B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#487B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B2B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B2B#FFFFFF#000000##FFFFFF
##487B2B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#786D31
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b2b;
/* rgb */ color: rgb(72, 123, 43);
/* oklch */ color: oklch(52.9% 0.125 136.0);
Tailwind
colors: {
  custom: {
    50: '#7fa168',
    500: '#487b2b',
    950: '#000000',
  },
}
SCSS
$custom: #487b2b;
$custom-light: #7fa168;
$custom-dark: #000000;
JSON
{
  "hex": "#487b2b",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 98.25,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.12455,
    "h": 136
  },
  "luminance": 0.15718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #487B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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