#487C2A#487C2A

#487C2A is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.1% C 0.127 H 135.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#487C2A
RGBrgb(72, 124, 42)
HSLhsl(98, 49%, 33%)
HSVhsv(98, 66%, 49%)
CMYKcmyk(41.9%, 0%, 66.1%, 51.4%)
CIE-LABlab(46.92, -32.85, 38.19)
CIE-LCHlch(46.92, 50.37, 130.70°)
OKLaboklab(53.14% -0.0911 0.0882)
OKLCHoklch(53.14% 0.127 135.9)
XYZxyz(10.2978, 15.9596, 4.7280)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C2A #5E2A7C
analogous
#717C2A #487C2A #2A7C35
triadic
#487C2A #2A487C #7C2A48
tetradic
#487C2A #2A717C #5E2A7C #7C352A
square
#487C2A #2A717C #5E2A7C #7C352A
split-complementary
#487C2A #352A7C #7C2A71
monochromatic
#13210B #2D4E1B #487C2A #63AA39 #82C759

Accessibility & contrast

On white

5.01
#487C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#487C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C2A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C2A#FFFFFF#000000##FFFFFF
##487C2A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807220
Deuteranopia (green-blind)
#796E31
Tritanopia (blue-blind)
#46776B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c2a;
/* rgb */ color: rgb(72, 124, 42);
/* oklch */ color: oklch(53.1% 0.127 135.9);
Tailwind
colors: {
  custom: {
    50: '#7fa267',
    500: '#487c2a',
    950: '#000000',
  },
}
SCSS
$custom: #487c2a;
$custom-light: #7fa267;
$custom-dark: #000000;
JSON
{
  "hex": "#487c2a",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 98.049,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.12682,
    "h": 135.9
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#487C2A
secondary
#8D55AD
accent
#4FD9A6
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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