#487B2E#487B2E

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

Color values

HEX#487B2E
RGBrgb(72, 123, 46)
HSLhsl(100, 46%, 33%)
HSVhsv(100, 63%, 48%)
CMYKcmyk(41.5%, 0%, 62.6%, 51.8%)
CIE-LABlab(46.63, -31.98, 35.97)
CIE-LCHlch(46.63, 48.14, 131.64°)
OKLaboklab(52.91% -0.0884 0.084)
OKLCHoklch(52.91% 0.122 136.5)
XYZxyz(10.2483, 15.7403, 5.0824)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B2E #612E7B
analogous
#6E7B2E #487B2E #2E7B3A
triadic
#487B2E #2E487B #7B2E48
tetradic
#487B2E #2E6E7B #612E7B #7B3A2E
square
#487B2E #2E6E7B #612E7B #7B3A2E
split-complementary
#487B2E #3A2E7B #7B2E6E
monochromatic
#14220D #2E4E1D #487B2E #62A83F #82C360

Accessibility & contrast

On white

5.06
#487B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#487B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B2E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B2E#FFFFFF#000000##FFFFFF
##487B2E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #487b2e;
/* rgb */ color: rgb(72, 123, 46);
/* oklch */ color: oklch(52.9% 0.122 136.5);
Tailwind
colors: {
  custom: {
    50: '#7fa16a',
    500: '#487b2e',
    950: '#000000',
  },
}
SCSS
$custom: #487b2e;
$custom-light: #7fa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#487b2e",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 99.74,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.12195,
    "h": 136.5
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#487B2E
secondary
#8F5BAA
accent
#53D5A9
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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