#486712#486712

#486712 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.3% C 0.115 H 128.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#486712
RGBrgb(72, 103, 18)
HSLhsl(82, 70%, 24%)
HSVhsv(82, 83%, 40%)
CMYKcmyk(30.1%, 0%, 82.5%, 59.6%)
CIE-LABlab(39.78, -24.74, 40.76)
CIE-LCHlch(39.78, 47.68, 121.26°)
OKLaboklab(47.26% -0.071 0.0899)
OKLCHoklch(47.26% 0.115 128.3)
XYZxyz(7.6319, 11.1217, 2.3168)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486712 #311267
analogous
#675B12 #486712 #1D6712
triadic
#486712 #124867 #671248
tetradic
#486712 #12675B #311267 #67121D
square
#486712 #12675B #311267 #67121D
split-complementary
#486712 #121D67 #5B1267
monochromatic
#121A05 #243309 #486712 #6C9B1B #91CF24

Accessibility & contrast

On white

6.51
#486712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#486712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486712
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486712#FFFFFF#000000##FFFFFF
##4867121.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#4B6257
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #486712;
/* rgb */ color: rgb(72, 103, 18);
/* oklch */ color: oklch(47.3% 0.115 128.3);
Tailwind
colors: {
  custom: {
    50: '#7e9258',
    500: '#486712',
    950: '#000000',
  },
}
SCSS
$custom: #486712;
$custom-light: #7e9258;
$custom-dark: #000000;
JSON
{
  "hex": "#486712",
  "rgb": {
    "r": 72,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 81.882,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47255,
    "c": 0.11461,
    "h": 128.3
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#486712
secondary
#5C369F
accent
#3BED7C
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #486712

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

Preview Lab → · Contrast checker → · Palette generator →

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