#487E26#487E26

#487E26 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.133 H 135.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#487E26
RGBrgb(72, 126, 38)
HSLhsl(97, 54%, 32%)
HSVhsv(97, 70%, 49%)
CMYKcmyk(42.9%, 0%, 69.8%, 50.6%)
CIE-LABlab(47.55, -34.12, 40.65)
CIE-LCHlch(47.55, 53.07, 130.01°)
OKLaboklab(53.63% -0.0949 0.0929)
OKLCHoklch(53.63% 0.133 135.6)
XYZxyz(10.4829, 16.4388, 4.4540)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E26 #5C267E
analogous
#747E26 #487E26 #267E30
triadic
#487E26 #26487E #7E2648
tetradic
#487E26 #26747E #5C267E #7E3026
square
#487E26 #26747E #5C267E #7E3026
split-complementary
#487E26 #30267E #7E2674
monochromatic
#12200A #2D4F18 #487E26 #63AD34 #82CB53

Accessibility & contrast

On white

4.90
#487E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487E26
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E26#FFFFFF#000000##FFFFFF
##487E261.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741A
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#46796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e26;
/* rgb */ color: rgb(72, 126, 38);
/* oklch */ color: oklch(53.6% 0.133 135.6);
Tailwind
colors: {
  custom: {
    50: '#80a465',
    500: '#487e26',
    950: '#000000',
  },
}
SCSS
$custom: #487e26;
$custom-light: #80a465;
$custom-dark: #000000;
JSON
{
  "hex": "#487e26",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 96.818,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.13277,
    "h": 135.6
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#487E26
secondary
#8B50B0
accent
#4BDDA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487E26

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

Preview Lab → · Contrast checker → · Palette generator →

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