#486D17#486D17

#486D17 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 48.9% C 0.120 H 130.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#486D17
RGBrgb(72, 109, 23)
HSLhsl(86, 65%, 26%)
HSVhsv(86, 79%, 43%)
CMYKcmyk(33.9%, 0%, 78.9%, 57.3%)
CIE-LABlab(41.81, -27.38, 40.90)
CIE-LCHlch(41.81, 49.22, 123.80°)
OKLaboklab(48.91% -0.0778 0.0911)
OKLCHoklch(48.91% 0.12 130.5)
XYZxyz(8.2957, 12.3766, 2.7623)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486D17 #3C176D
analogous
#6D6717 #486D17 #1D6D17
triadic
#486D17 #17486D #6D1748
tetradic
#486D17 #176D67 #3C176D #6D171D
square
#486D17 #176D67 #3C176D #6D171D
split-complementary
#486D17 #171D6D #67176D
monochromatic
#111905 #273A0C #486D17 #69A022 #8BD22C

Accessibility & contrast

On white

6.04
#486D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#486D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486D17
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486D17#FFFFFF#000000##FFFFFF
##486D171.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#4A685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #486d17;
/* rgb */ color: rgb(72, 109, 23);
/* oklch */ color: oklch(48.9% 0.120 130.5);
Tailwind
colors: {
  custom: {
    50: '#7f975b',
    500: '#486d17',
    950: '#000000',
  },
}
SCSS
$custom: #486d17;
$custom-light: #7f975b;
$custom-dark: #000000;
JSON
{
  "hex": "#486d17",
  "rgb": {
    "r": 72,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 85.814,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.11981,
    "h": 130.5
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#486D17
secondary
#693DA3
accent
#40E888
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #486D17

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

Preview Lab → · Contrast checker → · Palette generator →

#486D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva