#806E18#806E18

#806E18 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 54.0% C 0.102 H 96.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#806E18
RGBrgb(128, 110, 24)
HSLhsl(50, 68%, 30%)
HSVhsv(50, 81%, 50%)
CMYKcmyk(0%, 14.1%, 81.3%, 49.8%)
CIE-LABlab(46.72, -2.31, 46.78)
CIE-LCHlch(46.72, 46.84, 92.82°)
OKLaboklab(54% -0.0116 0.1017)
OKLCHoklch(54% 0.102 96.5)
XYZxyz(14.6437, 15.8078, 3.1439)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806E18 #182A80
analogous
#803A18 #806E18 #5E8018
triadic
#806E18 #18806E #6E1880
tetradic
#806E18 #18803A #182A80 #80185E
square
#806E18 #18803A #182A80 #80185E
split-complementary
#806E18 #185E80 #3A1880
monochromatic
#1A1605 #4C420E #806E18 #B49A22 #DABE39

Accessibility & contrast

On white

5.05
#806E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#806E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #806E18
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806E18#FFFFFF#000000##FFFFFF
##806E181.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#7F711E
Tritanopia (blue-blind)
#8B655E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #806e18;
/* rgb */ color: rgb(128, 110, 24);
/* oklch */ color: oklch(54.0% 0.102 96.5);
Tailwind
colors: {
  custom: {
    50: '#a9975d',
    500: '#806e18',
    950: '#000000',
  },
}
SCSS
$custom: #806e18;
$custom-light: #a9975d;
$custom-dark: #000000;
JSON
{
  "hex": "#806e18",
  "rgb": {
    "r": 128,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 49.615,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.10236,
    "h": 96.5
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#806E18
secondary
#4054B4
accent
#5BEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #806E18

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

Preview Lab → · Contrast checker → · Palette generator →

#806E18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva