#486C18#486C18

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

Color values

HEX#486C18
RGBrgb(72, 108, 24)
HSLhsl(86, 64%, 26%)
HSVhsv(86, 78%, 42%)
CMYKcmyk(33.3%, 0%, 77.8%, 57.6%)
CIE-LABlab(41.48, -26.84, 40.21)
CIE-LCHlch(41.48, 48.34, 123.72°)
OKLaboklab(48.65% -0.0762 0.0898)
OKLCHoklch(48.65% 0.118 130.3)
XYZxyz(8.1999, 12.1685, 2.7807)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486C18 #3C186C
analogous
#6C6618 #486C18 #1E6C18
triadic
#486C18 #18486C #6C1848
tetradic
#486C18 #186C66 #3C186C #6C181E
square
#486C18 #186C66 #3C186C #6C181E
split-complementary
#486C18 #181E6C #66186C
monochromatic
#111906 #273A0D #486C18 #699E23 #8BD02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##486C18#FFFFFF#000000##FFFFFF
##486C181.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)
#716407
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#4A675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #486c18;
/* rgb */ color: rgb(72, 108, 24);
/* oklch */ color: oklch(48.6% 0.118 130.3);
Tailwind
colors: {
  custom: {
    50: '#7e965c',
    500: '#486c18',
    950: '#000000',
  },
}
SCSS
$custom: #486c18;
$custom-light: #7e965c;
$custom-dark: #000000;
JSON
{
  "hex": "#486c18",
  "rgb": {
    "r": 72,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 85.714,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48649,
    "c": 0.11781,
    "h": 130.3
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

primary
#486C18
secondary
#693EA2
accent
#41E788
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #486C18

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

Preview Lab → · Contrast checker → · Palette generator →

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