#487A2D#487A2D

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

Color values

HEX#487A2D
RGBrgb(72, 122, 45)
HSLhsl(99, 46%, 33%)
HSVhsv(99, 63%, 48%)
CMYKcmyk(41%, 0%, 63.1%, 52.2%)
CIE-LABlab(46.29, -31.63, 36.07)
CIE-LCHlch(46.29, 47.98, 131.25°)
OKLaboklab(52.63% -0.0876 0.0841)
OKLCHoklch(52.63% 0.121 136.2)
XYZxyz(10.1054, 15.4857, 4.9387)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A2D #5F2D7A
analogous
#6E7A2D #487A2D #2D7A38
triadic
#487A2D #2D487A #7A2D48
tetradic
#487A2D #2D6E7A #5F2D7A #7A382D
square
#487A2D #2D6E7A #5F2D7A #7A382D
split-complementary
#487A2D #382D7A #7A2D6E
monochromatic
#13210C #2E4D1D #487A2D #62A73D #82C45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487A2D#FFFFFF#000000##FFFFFF
##487A2D1.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)
#7E7024
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#46766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487a2d;
/* rgb */ color: rgb(72, 122, 45);
/* oklch */ color: oklch(52.6% 0.121 136.2);
Tailwind
colors: {
  custom: {
    50: '#7fa169',
    500: '#487a2d',
    950: '#000000',
  },
}
SCSS
$custom: #487a2d;
$custom-light: #7fa169;
$custom-dark: #000000;
JSON
{
  "hex": "#487a2d",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 98.961,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.12138,
    "h": 136.2
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#487A2D
secondary
#8E59AA
accent
#52D6A8
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #487A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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