#487A2C#487A2C

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

Color values

HEX#487A2C
RGBrgb(72, 122, 44)
HSLhsl(98, 47%, 33%)
HSVhsv(98, 64%, 48%)
CMYKcmyk(41%, 0%, 63.9%, 52.2%)
CIE-LABlab(46.28, -31.74, 36.54)
CIE-LCHlch(46.28, 48.40, 130.97°)
OKLaboklab(52.62% -0.0879 0.0849)
OKLCHoklch(52.62% 0.122 136)
XYZxyz(10.0864, 15.4781, 4.8385)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A2C #5E2C7A
analogous
#6F7A2C #487A2C #2C7A37
triadic
#487A2C #2C487A #7A2C48
tetradic
#487A2C #2C6F7A #5E2C7A #7A372C
square
#487A2C #2C6F7A #5E2C7A #7A372C
split-complementary
#487A2C #372C7A #7A2C6F
monochromatic
#13200C #2D4D1C #487A2C #63A73C #82C45C

Accessibility & contrast

On white

5.13
#487A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487A2C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A2C#FFFFFF#000000##FFFFFF
##487A2C1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#467669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487a2c;
/* rgb */ color: rgb(72, 122, 44);
/* oklch */ color: oklch(52.6% 0.122 136.0);
Tailwind
colors: {
  custom: {
    50: '#7fa168',
    500: '#487a2c',
    950: '#000000',
  },
}
SCSS
$custom: #487a2c;
$custom-light: #7fa168;
$custom-dark: #000000;
JSON
{
  "hex": "#487a2c",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 98.462,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52618,
    "c": 0.12226,
    "h": 136
  },
  "luminance": 0.15479
}

Semantic roles & 50–950 ramp

primary
#487A2C
secondary
#8D57AA
accent
#51D7A7
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #487A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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