#487126#487126

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

Color values

HEX#487126
RGBrgb(72, 113, 38)
HSLhsl(93, 50%, 30%)
HSVhsv(93, 66%, 44%)
CMYKcmyk(36.3%, 0%, 66.4%, 55.7%)
CIE-LABlab(43.25, -28.12, 36.03)
CIE-LCHlch(43.25, 45.71, 127.97°)
OKLaboklab(50.13% -0.0785 0.0831)
OKLCHoklch(50.13% 0.114 133.4)
XYZxyz(8.9273, 13.3275, 3.9354)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487126 #4F2671
analogous
#6E7126 #487126 #26712A
triadic
#487126 #264871 #712648
tetradic
#487126 #266E71 #4F2671 #712A26
square
#487126 #266E71 #4F2671 #712A26
split-complementary
#487126 #2A2671 #71266E
monochromatic
#0F1708 #2B4317 #487126 #659F35 #83C34E

Accessibility & contrast

On white

5.73
#487126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487126
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487126#FFFFFF#000000##FFFFFF
##4871261.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76681D
Deuteranopia (green-blind)
#70652C
Tritanopia (blue-blind)
#486D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487126;
/* rgb */ color: rgb(72, 113, 38);
/* oklch */ color: oklch(50.1% 0.114 133.4);
Tailwind
colors: {
  custom: {
    50: '#7e9a64',
    500: '#487126',
    950: '#000000',
  },
}
SCSS
$custom: #487126;
$custom-light: #7e9a64;
$custom-dark: #000000;
JSON
{
  "hex": "#487126",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 38
  },
  "hsl": {
    "h": 92.8,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50127,
    "c": 0.11436,
    "h": 133.4
  },
  "luminance": 0.13328
}

Semantic roles & 50–950 ramp

primary
#487126
secondary
#7D4FA4
accent
#4FD99A
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #487126

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

Preview Lab → · Contrast checker → · Palette generator →

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