#486512#486512

#486512 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.7% C 0.112 H 127.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#486512
RGBrgb(72, 101, 18)
HSLhsl(81, 70%, 23%)
HSVhsv(81, 82%, 40%)
CMYKcmyk(28.7%, 0%, 82.2%, 60.4%)
CIE-LABlab(39.12, -23.74, 40.14)
CIE-LCHlch(39.12, 46.64, 120.60°)
OKLaboklab(46.72% -0.0683 0.0886)
OKLCHoklch(46.72% 0.112 127.6)
XYZxyz(7.4354, 10.7286, 2.2512)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486512 #2F1265
analogous
#655812 #486512 #1E6512
triadic
#486512 #124865 #651248
tetradic
#486512 #126558 #2F1265 #65121E
square
#486512 #126558 #2F1265 #65121E
split-complementary
#486512 #121E65 #581265
monochromatic
#131A05 #233109 #486512 #6D991B #92CD25

Accessibility & contrast

On white

6.68
#486512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#486512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486512
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486512#FFFFFF#000000##FFFFFF
##4865121.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#4B6056
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #486512;
/* rgb */ color: rgb(72, 101, 18);
/* oklch */ color: oklch(46.7% 0.112 127.6);
Tailwind
colors: {
  custom: {
    50: '#7e9158',
    500: '#486512',
    950: '#000000',
  },
}
SCSS
$custom: #486512;
$custom-light: #7e9158;
$custom-dark: #000000;
JSON
{
  "hex": "#486512",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 80.964,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46715,
    "c": 0.11191,
    "h": 127.6
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#486512
secondary
#5A369D
accent
#3BED79
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #486512

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

Preview Lab → · Contrast checker → · Palette generator →

#486512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva