#486D18#486D18

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

Color values

HEX#486D18
RGBrgb(72, 109, 24)
HSLhsl(86, 64%, 26%)
HSVhsv(86, 78%, 43%)
CMYKcmyk(33.9%, 0%, 78%, 57.3%)
CIE-LABlab(41.81, -27.32, 40.53)
CIE-LCHlch(41.81, 48.88, 123.98°)
OKLaboklab(48.92% -0.0776 0.0905)
OKLCHoklch(48.92% 0.119 130.6)
XYZxyz(8.3059, 12.3807, 2.8161)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486D18 #3D186D
analogous
#6D6718 #486D18 #1D6D18
triadic
#486D18 #18486D #6D1848
tetradic
#486D18 #186D67 #3D186D #6D181D
square
#486D18 #186D67 #3D186D #6D181D
split-complementary
#486D18 #181D6D #67186D
monochromatic
#111906 #273B0D #486D18 #699F23 #8AD12E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##486D18#FFFFFF#000000##FFFFFF
##486D181.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)
#726407
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#4A685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #486d18;
/* rgb */ color: rgb(72, 109, 24);
/* oklch */ color: oklch(48.9% 0.119 130.6);
Tailwind
colors: {
  custom: {
    50: '#7f975c',
    500: '#486d18',
    950: '#000000',
  },
}
SCSS
$custom: #486d18;
$custom-light: #7f975c;
$custom-dark: #000000;
JSON
{
  "hex": "#486d18",
  "rgb": {
    "r": 72,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 86.118,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.11919,
    "h": 130.6
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#486D18
secondary
#6A3EA3
accent
#41E789
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #486D18

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

Preview Lab → · Contrast checker → · Palette generator →

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