#487C2D#487C2D

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

Color values

HEX#487C2D
RGBrgb(72, 124, 45)
HSLhsl(99, 47%, 33%)
HSVhsv(99, 64%, 49%)
CMYKcmyk(41.9%, 0%, 63.7%, 51.4%)
CIE-LABlab(46.95, -32.55, 36.81)
CIE-LCHlch(46.95, 49.14, 131.48°)
OKLaboklab(53.17% -0.0901 0.0856)
OKLCHoklch(53.17% 0.124 136.4)
XYZxyz(10.3535, 15.9819, 5.0214)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C2D #612D7C
analogous
#6F7C2D #487C2D #2D7C39
triadic
#487C2D #2D487C #7C2D48
tetradic
#487C2D #2D6F7C #612D7C #7C392D
square
#487C2D #2D6F7C #612D7C #7C392D
split-complementary
#487C2D #392D7C #7C2D6F
monochromatic
#14220C #2E4F1D #487C2D #62A93D #82C55F

Accessibility & contrast

On white

5.00
#487C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#487C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C2D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C2D#FFFFFF#000000##FFFFFF
##487C2D1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#46786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c2d;
/* rgb */ color: rgb(72, 124, 45);
/* oklch */ color: oklch(53.2% 0.124 136.4);
Tailwind
colors: {
  custom: {
    50: '#7fa269',
    500: '#487c2d',
    950: '#000000',
  },
}
SCSS
$custom: #487c2d;
$custom-light: #7fa269;
$custom-dark: #000000;
JSON
{
  "hex": "#487c2d",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 99.494,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53168,
    "c": 0.12428,
    "h": 136.4
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#487C2D
secondary
#8F5AAB
accent
#51D6A9
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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