#487F18#487F18

#487F18 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.143 H 134.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#487F18
RGBrgb(72, 127, 24)
HSLhsl(92, 68%, 30%)
HSVhsv(92, 81%, 50%)
CMYKcmyk(43.3%, 0%, 81.1%, 50.2%)
CIE-LABlab(47.78, -35.56, 46.24)
CIE-LCHlch(47.78, 58.33, 127.57°)
OKLaboklab(53.8% -0.0998 0.1024)
OKLCHoklch(53.8% 0.143 134.3)
XYZxyz(10.4265, 16.6218, 3.5229)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F18 #4F187F
analogous
#7C7F18 #487F18 #187F1C
triadic
#487F18 #18487F #7F1848
tetradic
#487F18 #187C7F #4F187F #7F1C18
square
#487F18 #187C7F #4F187F #7F1C18
split-complementary
#487F18 #1C187F #7F187C
monochromatic
#0F1A05 #2B4C0E #487F18 #65B222 #83D938

Accessibility & contrast

On white

4.86
#487F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#487F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F18
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F18#FFFFFF#000000##FFFFFF
##487F181.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#477A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487f18;
/* rgb */ color: rgb(72, 127, 24);
/* oklch */ color: oklch(53.8% 0.143 134.3);
Tailwind
colors: {
  custom: {
    50: '#80a45e',
    500: '#487f18',
    950: '#000000',
  },
}
SCSS
$custom: #487f18;
$custom-light: #80a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#487f18",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 92.039,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53796,
    "c": 0.14303,
    "h": 134.3
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

primary
#487F18
secondary
#7D3FB3
accent
#3DEB9A
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487F18

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

Preview Lab → · Contrast checker → · Palette generator →

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