#487E2B#487E2B

#487E2B is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.129 H 136.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#487E2B
RGBrgb(72, 126, 43)
HSLhsl(99, 49%, 33%)
HSVhsv(99, 66%, 49%)
CMYKcmyk(42.9%, 0%, 65.9%, 50.6%)
CIE-LABlab(47.59, -33.65, 38.46)
CIE-LCHlch(47.59, 51.11, 131.19°)
OKLaboklab(53.68% -0.0932 0.0889)
OKLCHoklch(53.68% 0.129 136.4)
XYZxyz(10.5691, 16.4733, 4.9078)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E2B #612B7E
analogous
#717E2B #487E2B #2B7E37
triadic
#487E2B #2B487E #7E2B48
tetradic
#487E2B #2B717E #612B7E #7E372B
square
#487E2B #2B717E #612B7E #7E372B
split-complementary
#487E2B #372B7E #7E2B71
monochromatic
#14230C #2E501B #487E2B #62AC3B #82C75C

Accessibility & contrast

On white

4.89
#487E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#487E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E2B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E2B#FFFFFF#000000##FFFFFF
##487E2B1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827421
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#46796D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e2b;
/* rgb */ color: rgb(72, 126, 43);
/* oklch */ color: oklch(53.7% 0.129 136.4);
Tailwind
colors: {
  custom: {
    50: '#7fa468',
    500: '#487e2b',
    950: '#000000',
  },
}
SCSS
$custom: #487e2b;
$custom-light: #7fa468;
$custom-dark: #000000;
JSON
{
  "hex": "#487e2b",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 99.036,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53684,
    "c": 0.12882,
    "h": 136.4
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#487E2B
secondary
#8F58AD
accent
#4FD9A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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