#486C17#486C17

#486C17 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.6% C 0.118 H 130.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#486C17
RGBrgb(72, 108, 23)
HSLhsl(85, 65%, 26%)
HSVhsv(85, 79%, 42%)
CMYKcmyk(33.3%, 0%, 78.7%, 57.6%)
CIE-LABlab(41.48, -26.90, 40.58)
CIE-LCHlch(41.48, 48.69, 123.54°)
OKLaboklab(48.64% -0.0765 0.0904)
OKLCHoklch(48.64% 0.118 130.2)
XYZxyz(8.1897, 12.1644, 2.7269)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486C17 #3B176C
analogous
#6C6517 #486C17 #1D6C17
triadic
#486C17 #17486C #6C1748
tetradic
#486C17 #176C65 #3B176C #6C171D
square
#486C17 #176C65 #3B176C #6C171D
split-complementary
#486C17 #171D6C #65176C
monochromatic
#111905 #263A0C #486C17 #6A9E22 #8BD12C

Accessibility & contrast

On white

6.12
#486C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#486C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486C17
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486C17#FFFFFF#000000##FFFFFF
##486C171.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716405
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#4A675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #486c17;
/* rgb */ color: rgb(72, 108, 23);
/* oklch */ color: oklch(48.6% 0.118 130.2);
Tailwind
colors: {
  custom: {
    50: '#7f965b',
    500: '#486c17',
    950: '#000000',
  },
}
SCSS
$custom: #486c17;
$custom-light: #7f965b;
$custom-dark: #000000;
JSON
{
  "hex": "#486c17",
  "rgb": {
    "r": 72,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 85.412,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48642,
    "c": 0.11845,
    "h": 130.2
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#486C17
secondary
#683DA2
accent
#40E887
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #486C17

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

Preview Lab → · Contrast checker → · Palette generator →

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