#487E2A#487E2A

#487E2A is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.130 H 136.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#487E2A
RGBrgb(72, 126, 42)
HSLhsl(99, 50%, 33%)
HSVhsv(99, 67%, 49%)
CMYKcmyk(42.9%, 0%, 66.7%, 50.6%)
CIE-LABlab(47.58, -33.75, 38.91)
CIE-LCHlch(47.58, 51.51, 130.94°)
OKLaboklab(53.67% -0.0936 0.0897)
OKLCHoklch(53.67% 0.13 136.2)
XYZxyz(10.5510, 16.4660, 4.8123)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E2A #602A7E
analogous
#727E2A #487E2A #2A7E36
triadic
#487E2A #2A487E #7E2A48
tetradic
#487E2A #2A727E #602A7E #7E362A
square
#487E2A #2A727E #602A7E #7E362A
split-complementary
#487E2A #362A7E #7E2A72
monochromatic
#14220B #2E501B #487E2A #62AC39 #82C85A

Accessibility & contrast

On white

4.89
#487E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#487E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E2A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E2A#FFFFFF#000000##FFFFFF
##487E2A1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82741F
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#46796D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e2a;
/* rgb */ color: rgb(72, 126, 42);
/* oklch */ color: oklch(53.7% 0.130 136.2);
Tailwind
colors: {
  custom: {
    50: '#7fa468',
    500: '#487e2a',
    950: '#000000',
  },
}
SCSS
$custom: #487e2a;
$custom-light: #7fa468;
$custom-dark: #000000;
JSON
{
  "hex": "#487e2a",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 98.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53673,
    "c": 0.12964,
    "h": 136.2
  },
  "luminance": 0.16467
}

Semantic roles & 50–950 ramp

primary
#487E2A
secondary
#8E56AE
accent
#4EDAA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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