#487B2D#487B2D

#487B2D is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.123 H 136.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#487B2D
RGBrgb(72, 123, 45)
HSLhsl(99, 46%, 33%)
HSVhsv(99, 63%, 48%)
CMYKcmyk(41.5%, 0%, 63.4%, 51.8%)
CIE-LABlab(46.62, -32.09, 36.45)
CIE-LCHlch(46.62, 48.56, 131.37°)
OKLaboklab(52.9% -0.0888 0.0848)
OKLCHoklch(52.9% 0.123 136.3)
XYZxyz(10.2288, 15.7326, 4.9798)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B2D #602D7B
analogous
#6F7B2D #487B2D #2D7B39
triadic
#487B2D #2D487B #7B2D48
tetradic
#487B2D #2D6F7B #602D7B #7B392D
square
#487B2D #2D6F7B #602D7B #7B392D
split-complementary
#487B2D #392D7B #7B2D6F
monochromatic
#14210C #2E4E1D #487B2D #62A83D #82C45E

Accessibility & contrast

On white

5.06
#487B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#487B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B2D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B2D#FFFFFF#000000##FFFFFF
##487B2D1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b2d;
/* rgb */ color: rgb(72, 123, 45);
/* oklch */ color: oklch(52.9% 0.123 136.3);
Tailwind
colors: {
  custom: {
    50: '#7fa169',
    500: '#487b2d',
    950: '#000000',
  },
}
SCSS
$custom: #487b2d;
$custom-light: #7fa169;
$custom-dark: #000000;
JSON
{
  "hex": "#487b2d",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 99.231,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.12283,
    "h": 136.3
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#487B2D
secondary
#8E59AB
accent
#52D6A8
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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