#487E2C#487E2C

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

Color values

HEX#487E2C
RGBrgb(72, 126, 44)
HSLhsl(100, 48%, 33%)
HSVhsv(100, 65%, 49%)
CMYKcmyk(42.9%, 0%, 65.1%, 50.6%)
CIE-LABlab(47.60, -33.55, 38.01)
CIE-LCHlch(47.60, 50.70, 131.44°)
OKLaboklab(53.7% -0.0929 0.0881)
OKLCHoklch(53.7% 0.128 136.5)
XYZxyz(10.5877, 16.4807, 5.0056)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E2C #622C7E
analogous
#717E2C #487E2C #2C7E39
triadic
#487E2C #2C487E #7E2C48
tetradic
#487E2C #2C717E #622C7E #7E392C
square
#487E2C #2C717E #622C7E #7E392C
split-complementary
#487E2C #392C7E #7E2C71
monochromatic
#14230C #2E511C #487E2C #62AB3C #82C75E

Accessibility & contrast

On white

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

On black

4.30
#487E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487E2C#FFFFFF#000000##FFFFFF
##487E2C1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827422
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#46796D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e2c;
/* rgb */ color: rgb(72, 126, 44);
/* oklch */ color: oklch(53.7% 0.128 136.5);
Tailwind
colors: {
  custom: {
    50: '#7fa469',
    500: '#487e2c',
    950: '#000000',
  },
}
SCSS
$custom: #487e2c;
$custom-light: #7fa469;
$custom-dark: #000000;
JSON
{
  "hex": "#487e2c",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 99.512,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.12799,
    "h": 136.5
  },
  "luminance": 0.16481
}

Semantic roles & 50–950 ramp

primary
#487E2C
secondary
#9059AD
accent
#50D8A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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