#807818#807818

#807818 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.111 H 104.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#807818
RGBrgb(128, 120, 24)
HSLhsl(55, 68%, 30%)
HSVhsv(55, 81%, 50%)
CMYKcmyk(0%, 6.3%, 81.3%, 49.8%)
CIE-LABlab(49.60, -7.94, 49.37)
CIE-LCHlch(49.60, 50.01, 99.14°)
OKLaboklab(56.28% -0.0275 0.1073)
OKLCHoklch(56.28% 0.111 104.4)
XYZxyz(15.7841, 18.0887, 3.5240)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807818 #182080
analogous
#804418 #807818 #548018
triadic
#807818 #188078 #781880
tetradic
#807818 #188044 #182080 #801854
square
#807818 #188044 #182080 #801854
split-complementary
#807818 #185480 #441880
monochromatic
#1A1805 #4C480E #807818 #B4A822 #DACD39

Accessibility & contrast

On white

4.55
#807818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#807818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807818
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807818#FFFFFF#000000##000000
##8078181.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#837400
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#8A6F66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #807818;
/* rgb */ color: rgb(128, 120, 24);
/* oklch */ color: oklch(56.3% 0.111 104.4);
Tailwind
colors: {
  custom: {
    50: '#a89e5e',
    500: '#807818',
    950: '#000000',
  },
}
SCSS
$custom: #807818;
$custom-light: #a89e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#807818",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 55.385,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56283,
    "c": 0.11073,
    "h": 104.4
  },
  "luminance": 0.18088
}

Semantic roles & 50–950 ramp

primary
#807818
secondary
#4048B4
accent
#4AEB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807818

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

Preview Lab → · Contrast checker → · Palette generator →

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