#487B28#487B28

#487B28 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.8% C 0.127 H 135.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#487B28
RGBrgb(72, 123, 40)
HSLhsl(97, 51%, 32%)
HSVhsv(97, 67%, 48%)
CMYKcmyk(41.5%, 0%, 67.5%, 51.8%)
CIE-LABlab(46.57, -32.59, 38.72)
CIE-LCHlch(46.57, 50.61, 130.08°)
OKLaboklab(52.84% -0.0906 0.0891)
OKLCHoklch(52.84% 0.127 135.5)
XYZxyz(10.1382, 15.6963, 4.5026)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B28 #5B287B
analogous
#727B28 #487B28 #287B31
triadic
#487B28 #28487B #7B2848
tetradic
#487B28 #28727B #5B287B #7B3128
square
#487B28 #28727B #5B287B #7B3128
split-complementary
#487B28 #31287B #7B2872
monochromatic
#121F0A #2D4D19 #487B28 #63A937 #82C856

Accessibility & contrast

On white

5.07
#487B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#487B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B28
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B28#FFFFFF#000000##FFFFFF
##487B281.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711D
Deuteranopia (green-blind)
#786D2F
Tritanopia (blue-blind)
#47766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b28;
/* rgb */ color: rgb(72, 123, 40);
/* oklch */ color: oklch(52.8% 0.127 135.5);
Tailwind
colors: {
  custom: {
    50: '#7fa166',
    500: '#487b28',
    950: '#000000',
  },
}
SCSS
$custom: #487b28;
$custom-light: #7fa166;
$custom-dark: #000000;
JSON
{
  "hex": "#487b28",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 96.867,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52844,
    "c": 0.12703,
    "h": 135.5
  },
  "luminance": 0.15697
}

Semantic roles & 50–950 ramp

primary
#487B28
secondary
#8A52AD
accent
#4DDAA4
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487B28

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

Preview Lab → · Contrast checker → · Palette generator →

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