#807827#807827

#807827 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.101 H 103.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#807827
RGBrgb(128, 120, 39)
HSLhsl(55, 53%, 33%)
HSVhsv(55, 70%, 50%)
CMYKcmyk(0%, 6.3%, 69.5%, 49.8%)
CIE-LABlab(49.70, -7.20, 43.70)
CIE-LCHlch(49.70, 44.29, 99.35°)
OKLaboklab(56.39% -0.0238 0.0982)
OKLCHoklch(56.39% 0.101 103.6)
XYZxyz(15.9854, 18.1692, 4.5840)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807827 #272F80
analogous
#804C27 #807827 #5B8027
triadic
#807827 #278078 #782780
tetradic
#807827 #27804C #272F80 #80275B
square
#807827 #27804C #272F80 #80275B
split-complementary
#807827 #275B80 #4C2780
monochromatic
#22200A #514C19 #807827 #AFA435 #CBC156

Accessibility & contrast

On white

4.53
#807827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#807827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807827
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807827#FFFFFF#000000##000000
##8078271.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#8A7068
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #807827;
/* rgb */ color: rgb(128, 120, 39);
/* oklch */ color: oklch(56.4% 0.101 103.6);
Tailwind
colors: {
  custom: {
    50: '#a89e66',
    500: '#807827',
    950: '#000000',
  },
}
SCSS
$custom: #807827;
$custom-light: #a89e66;
$custom-dark: #000000;
JSON
{
  "hex": "#807827",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 39
  },
  "hsl": {
    "h": 54.607,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56392,
    "c": 0.10102,
    "h": 103.6
  },
  "luminance": 0.18169
}

Semantic roles & 50–950 ramp

primary
#807827
secondary
#535BB0
accent
#58DD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807827

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

Preview Lab → · Contrast checker → · Palette generator →

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