#487A2E#487A2E

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

Color values

HEX#487A2E
RGBrgb(72, 122, 46)
HSLhsl(99, 45%, 33%)
HSVhsv(99, 62%, 48%)
CMYKcmyk(41%, 0%, 62.3%, 52.2%)
CIE-LABlab(46.30, -31.53, 35.60)
CIE-LCHlch(46.30, 47.55, 131.52°)
OKLaboklab(52.64% -0.0872 0.0832)
OKLCHoklch(52.64% 0.12 136.4)
XYZxyz(10.1249, 15.4935, 5.0413)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A2E #602E7A
analogous
#6E7A2E #487A2E #2E7A3A
triadic
#487A2E #2E487A #7A2E48
tetradic
#487A2E #2E6E7A #602E7A #7A3A2E
square
#487A2E #2E6E7A #602E7A #7A3A2E
split-complementary
#487A2E #3A2E7A #7A2E6E
monochromatic
#14210C #2E4E1D #487A2E #62A63F #82C360

Accessibility & contrast

On white

5.12
#487A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#487A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A2E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A2E#FFFFFF#000000##FFFFFF
##487A2E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#46766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487a2e;
/* rgb */ color: rgb(72, 122, 46);
/* oklch */ color: oklch(52.6% 0.120 136.4);
Tailwind
colors: {
  custom: {
    50: '#7fa16a',
    500: '#487a2e',
    950: '#000000',
  },
}
SCSS
$custom: #487a2e;
$custom-light: #7fa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#487a2e",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 99.474,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52642,
    "c": 0.12049,
    "h": 136.4
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#487A2E
secondary
#8E5AAA
accent
#53D5A8
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #487A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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