#487D2D#487D2D

#487D2D is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.126 H 136.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#487D2D
RGBrgb(72, 125, 45)
HSLhsl(100, 47%, 33%)
HSVhsv(100, 64%, 49%)
CMYKcmyk(42.4%, 0%, 64%, 51%)
CIE-LABlab(47.28, -33.00, 37.18)
CIE-LCHlch(47.28, 49.71, 131.59°)
OKLaboklab(53.44% -0.0913 0.0864)
OKLCHoklch(53.44% 0.126 136.6)
XYZxyz(10.4795, 16.2338, 5.0634)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D2D #622D7D
analogous
#707D2D #487D2D #2D7D3A
triadic
#487D2D #2D487D #7D2D48
tetradic
#487D2D #2D707D #622D7D #7D3A2D
square
#487D2D #2D707D #622D7D #7D3A2D
split-complementary
#487D2D #3A2D7D #7D2D70
monochromatic
#14230D #2E501D #487D2D #62AA3D #82C55F

Accessibility & contrast

On white

4.94
#487D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#487D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D2D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D2D#FFFFFF#000000##FFFFFF
##487D2D1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#7A6E33
Tritanopia (blue-blind)
#46796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d2d;
/* rgb */ color: rgb(72, 125, 45);
/* oklch */ color: oklch(53.4% 0.126 136.6);
Tailwind
colors: {
  custom: {
    50: '#7fa369',
    500: '#487d2d',
    950: '#000000',
  },
}
SCSS
$custom: #487d2d;
$custom-light: #7fa369;
$custom-dark: #000000;
JSON
{
  "hex": "#487d2d",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 99.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.12571,
    "h": 136.6
  },
  "luminance": 0.16234
}

Semantic roles & 50–950 ramp

primary
#487D2D
secondary
#905AAC
accent
#51D7AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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