#487C2C#487C2C

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

Color values

HEX#487C2C
RGBrgb(72, 124, 44)
HSLhsl(99, 48%, 33%)
HSVhsv(99, 65%, 49%)
CMYKcmyk(41.9%, 0%, 64.5%, 51.4%)
CIE-LABlab(46.94, -32.65, 37.28)
CIE-LCHlch(46.94, 49.55, 131.21°)
OKLaboklab(53.16% -0.0904 0.0865)
OKLCHoklch(53.16% 0.125 136.3)
XYZxyz(10.3345, 15.9743, 4.9212)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C2C #602C7C
analogous
#707C2C #487C2C #2C7C38
triadic
#487C2C #2C487C #7C2C48
tetradic
#487C2C #2C707C #602C7C #7C382C
square
#487C2C #2C707C #602C7C #7C382C
split-complementary
#487C2C #382C7C #7C2C70
monochromatic
#14220C #2E4F1C #487C2C #62A93C #82C55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487C2C#FFFFFF#000000##FFFFFF
##487C2C1.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)
#807223
Deuteranopia (green-blind)
#796E32
Tritanopia (blue-blind)
#46786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c2c;
/* rgb */ color: rgb(72, 124, 44);
/* oklch */ color: oklch(53.2% 0.125 136.3);
Tailwind
colors: {
  custom: {
    50: '#7fa269',
    500: '#487c2c',
    950: '#000000',
  },
}
SCSS
$custom: #487c2c;
$custom-light: #7fa269;
$custom-dark: #000000;
JSON
{
  "hex": "#487c2c",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 99,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53157,
    "c": 0.12513,
    "h": 136.3
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#487C2C
secondary
#8E58AC
accent
#51D7A8
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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