#807822#807822

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

Color values

HEX#807822
RGBrgb(128, 120, 34)
HSLhsl(55, 58%, 32%)
HSVhsv(55, 73%, 50%)
CMYKcmyk(0%, 6.3%, 73.4%, 49.8%)
CIE-LABlab(49.66, -7.49, 45.76)
CIE-LCHlch(49.66, 46.37, 99.29°)
OKLaboklab(56.35% -0.0252 0.1016)
OKLCHoklch(56.35% 0.105 103.9)
XYZxyz(15.9080, 18.1383, 4.1762)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807822 #222A80
analogous
#804922 #807822 #598022
triadic
#807822 #228078 #782280
tetradic
#807822 #228049 #222A80 #802259
square
#807822 #228049 #222A80 #802259
split-complementary
#807822 #225980 #492280
monochromatic
#1F1D08 #504B15 #807822 #B0A52F #D0C54D

Accessibility & contrast

On white

4.54
#807822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##807822#FFFFFF#000000##000000
##8078221.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#8A6F67
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #807822;
/* rgb */ color: rgb(128, 120, 34);
/* oklch */ color: oklch(56.4% 0.105 103.9);
Tailwind
colors: {
  custom: {
    50: '#a89e63',
    500: '#807822',
    950: '#000000',
  },
}
SCSS
$custom: #807822;
$custom-light: #a89e63;
$custom-dark: #000000;
JSON
{
  "hex": "#807822",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 54.894,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5635,
    "c": 0.10468,
    "h": 103.9
  },
  "luminance": 0.18138
}

Semantic roles & 50–950 ramp

primary
#807822
secondary
#4B54B2
accent
#54E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807822

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

Preview Lab → · Contrast checker → · Palette generator →

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