#487B24#487B24

#487B24 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.8% C 0.130 H 134.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#487B24
RGBrgb(72, 123, 36)
HSLhsl(95, 55%, 31%)
HSVhsv(95, 71%, 48%)
CMYKcmyk(41.5%, 0%, 70.7%, 51.8%)
CIE-LABlab(46.54, -32.94, 40.45)
CIE-LCHlch(46.54, 52.17, 129.16°)
OKLaboklab(52.81% -0.0919 0.0922)
OKLCHoklch(52.81% 0.13 134.9)
XYZxyz(10.0737, 15.6705, 4.1626)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B24 #57247B
analogous
#737B24 #487B24 #247B2B
triadic
#487B24 #24487B #7B2448
tetradic
#487B24 #24737B #57247B #7B2B24
square
#487B24 #24737B #57247B #7B2B24
split-complementary
#487B24 #2B247B #7B2473
monochromatic
#111C08 #2C4C16 #487B24 #64AA32 #82CB4E

Accessibility & contrast

On white

5.08
#487B24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#487B24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B24
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B24#FFFFFF#000000##FFFFFF
##487B241.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807117
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#477669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b24;
/* rgb */ color: rgb(72, 123, 36);
/* oklch */ color: oklch(52.8% 0.130 134.9);
Tailwind
colors: {
  custom: {
    50: '#7fa164',
    500: '#487b24',
    950: '#000000',
  },
}
SCSS
$custom: #487b24;
$custom-light: #7fa164;
$custom-dark: #000000;
JSON
{
  "hex": "#487b24",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 95.172,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52805,
    "c": 0.13013,
    "h": 134.9
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#487B24
secondary
#864DAD
accent
#4ADEA1
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487B24

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

Preview Lab → · Contrast checker → · Palette generator →

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