#487C26#487C26

#487C26 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.130 H 135.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#487C26
RGBrgb(72, 124, 38)
HSLhsl(96, 53%, 32%)
HSVhsv(96, 69%, 49%)
CMYKcmyk(41.9%, 0%, 69.4%, 51.4%)
CIE-LABlab(46.89, -33.22, 39.95)
CIE-LCHlch(46.89, 51.96, 129.75°)
OKLaboklab(53.09% -0.0924 0.0914)
OKLCHoklch(53.09% 0.13 135.3)
XYZxyz(10.2298, 15.9324, 4.3696)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C26 #5A267C
analogous
#737C26 #487C26 #267C2F
triadic
#487C26 #26487C #7C2648
tetradic
#487C26 #26737C #5A267C #7C2F26
square
#487C26 #26737C #5A267C #7C2F26
split-complementary
#487C26 #2F267C #7C2673
monochromatic
#121E09 #2D4D18 #487C26 #63AB34 #82CA52

Accessibility & contrast

On white

5.02
#487C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#487C26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C26
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C26#FFFFFF#000000##FFFFFF
##487C261.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#796E2D
Tritanopia (blue-blind)
#47776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c26;
/* rgb */ color: rgb(72, 124, 38);
/* oklch */ color: oklch(53.1% 0.130 135.3);
Tailwind
colors: {
  custom: {
    50: '#7fa265',
    500: '#487c26',
    950: '#000000',
  },
}
SCSS
$custom: #487c26;
$custom-light: #7fa265;
$custom-dark: #000000;
JSON
{
  "hex": "#487c26",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 38
  },
  "hsl": {
    "h": 96.279,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53094,
    "c": 0.13,
    "h": 135.3
  },
  "luminance": 0.15933
}

Semantic roles & 50–950 ramp

primary
#487C26
secondary
#8950AE
accent
#4BDCA3
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487C26

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

Preview Lab → · Contrast checker → · Palette generator →

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