#806918#806918

#806918 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.9% C 0.099 H 92.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#806918
RGBrgb(128, 105, 24)
HSLhsl(47, 68%, 30%)
HSVhsv(47, 81%, 50%)
CMYKcmyk(0%, 18%, 81.3%, 49.8%)
CIE-LABlab(45.30, 0.57, 45.50)
CIE-LCHlch(45.30, 45.50, 89.28°)
OKLaboklab(52.87% -0.0035 0.0989)
OKLCHoklch(52.87% 0.099 92)
XYZxyz(14.1194, 14.7592, 2.9691)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806918 #182F80
analogous
#803518 #806918 #638018
triadic
#806918 #188069 #691880
tetradic
#806918 #188035 #182F80 #801863
square
#806918 #188035 #182F80 #801863
split-complementary
#806918 #186380 #351880
monochromatic
#1A1505 #4C3F0E #806918 #B49322 #DAB639

Accessibility & contrast

On white

5.31
#806918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#806918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #806918
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806918#FFFFFF#000000##FFFFFF
##8069181.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766707
Deuteranopia (green-blind)
#7B6E1D
Tritanopia (blue-blind)
#8B605A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #806918;
/* rgb */ color: rgb(128, 105, 24);
/* oklch */ color: oklch(52.9% 0.099 92.0);
Tailwind
colors: {
  custom: {
    50: '#a9935c',
    500: '#806918',
    950: '#000000',
  },
}
SCSS
$custom: #806918;
$custom-light: #a9935c;
$custom-dark: #000000;
JSON
{
  "hex": "#806918",
  "rgb": {
    "r": 128,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 46.731,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.099,
    "h": 92
  },
  "luminance": 0.14758
}

Semantic roles & 50–950 ramp

primary
#806918
secondary
#4059B4
accent
#63EB3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #806918

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

Preview Lab → · Contrast checker → · Palette generator →

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