#487F26#487F26

#487F26 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.134 H 135.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#487F26
RGBrgb(72, 127, 38)
HSLhsl(97, 54%, 32%)
HSVhsv(97, 70%, 50%)
CMYKcmyk(43.3%, 0%, 70.1%, 50.2%)
CIE-LABlab(47.87, -34.56, 41.00)
CIE-LCHlch(47.87, 53.62, 130.13°)
OKLaboklab(53.9% -0.0961 0.0936)
OKLCHoklch(53.9% 0.134 135.8)
XYZxyz(10.6114, 16.6958, 4.4968)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F26 #5D267F
analogous
#747F26 #487F26 #267F31
triadic
#487F26 #26487F #7F2648
tetradic
#487F26 #26747F #5D267F #7F3126
square
#487F26 #26747F #5D267F #7F3126
split-complementary
#487F26 #31267F #7F2674
monochromatic
#13210A #2D5018 #487F26 #63AE34 #82CC54

Accessibility & contrast

On white

4.84
#487F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#487F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F26
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F26#FFFFFF#000000##FFFFFF
##487F261.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847419
Deuteranopia (green-blind)
#7C702E
Tritanopia (blue-blind)
#467A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #487f26;
/* rgb */ color: rgb(72, 127, 38);
/* oklch */ color: oklch(53.9% 0.134 135.8);
Tailwind
colors: {
  custom: {
    50: '#80a465',
    500: '#487f26',
    950: '#000000',
  },
}
SCSS
$custom: #487f26;
$custom-light: #80a465;
$custom-dark: #000000;
JSON
{
  "hex": "#487f26",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 97.079,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53903,
    "c": 0.13414,
    "h": 135.8
  },
  "luminance": 0.16696
}

Semantic roles & 50–950 ramp

primary
#487F26
secondary
#8C51B0
accent
#4ADDA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #487F26

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

Preview Lab → · Contrast checker → · Palette generator →

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