#487128#487128

#487128 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.113 H 133.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#487128
RGBrgb(72, 113, 40)
HSLhsl(94, 48%, 30%)
HSVhsv(94, 65%, 44%)
CMYKcmyk(36.3%, 0%, 64.6%, 55.7%)
CIE-LABlab(43.27, -27.92, 35.10)
CIE-LCHlch(43.27, 44.85, 128.50°)
OKLaboklab(50.15% -0.0778 0.0814)
OKLCHoklch(50.15% 0.113 133.7)
XYZxyz(8.9605, 13.3408, 4.1100)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487128 #512871
analogous
#6C7128 #487128 #28712D
triadic
#487128 #284871 #712848
tetradic
#487128 #286C71 #512871 #712D28
square
#487128 #286C71 #512871 #712D28
split-complementary
#487128 #2D2871 #71286C
monochromatic
#0E1708 #2B4418 #487128 #659E38 #83C252

Accessibility & contrast

On white

5.72
#487128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#487128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487128
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487128#FFFFFF#000000##FFFFFF
##4871281.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756820
Deuteranopia (green-blind)
#70652E
Tritanopia (blue-blind)
#486D62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487128;
/* rgb */ color: rgb(72, 113, 40);
/* oklch */ color: oklch(50.1% 0.113 133.7);
Tailwind
colors: {
  custom: {
    50: '#7e9a65',
    500: '#487128',
    950: '#000000',
  },
}
SCSS
$custom: #487128;
$custom-light: #7e9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#487128",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 93.699,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.5015,
    "c": 0.11262,
    "h": 133.7
  },
  "luminance": 0.13341
}

Semantic roles & 50–950 ramp

primary
#487128
secondary
#7F52A3
accent
#50D79C
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #487128

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

Preview Lab → · Contrast checker → · Palette generator →

#487128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva