#486A12#486A12

#486A12 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.1% C 0.119 H 129.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#486A12
RGBrgb(72, 106, 18)
HSLhsl(83, 71%, 24%)
HSVhsv(83, 83%, 42%)
CMYKcmyk(32.1%, 0%, 83%, 58.4%)
CIE-LABlab(40.78, -26.22, 41.68)
CIE-LCHlch(40.78, 49.24, 122.17°)
OKLaboklab(48.07% -0.075 0.0919)
OKLCHoklch(48.07% 0.119 129.2)
XYZxyz(7.9357, 11.7292, 2.4180)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486A12 #34126A
analogous
#6A6012 #486A12 #1C6A12
triadic
#486A12 #12486A #6A1248
tetradic
#486A12 #126A60 #34126A #6A121C
square
#486A12 #126A60 #34126A #6A121C
split-complementary
#486A12 #121C6A #60126A
monochromatic
#121A04 #243609 #486A12 #6C9E1B #8FD324

Accessibility & contrast

On white

6.28
#486A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#486A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486A12
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486A12#FFFFFF#000000##FFFFFF
##486A121.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6200
Deuteranopia (green-blind)
#6B5F1C
Tritanopia (blue-blind)
#4A655A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #486a12;
/* rgb */ color: rgb(72, 106, 18);
/* oklch */ color: oklch(48.1% 0.119 129.2);
Tailwind
colors: {
  custom: {
    50: '#7f9558',
    500: '#486a12',
    950: '#000000',
  },
}
SCSS
$custom: #486a12;
$custom-light: #7f9558;
$custom-dark: #000000;
JSON
{
  "hex": "#486a12",
  "rgb": {
    "r": 72,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 83.182,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.11863,
    "h": 129.2
  },
  "luminance": 0.11729
}

Semantic roles & 50–950 ramp

primary
#486A12
secondary
#6036A2
accent
#3AEE7F
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #486A12

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

Preview Lab → · Contrast checker → · Palette generator →

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