#807828#807828

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

Color values

HEX#807828
RGBrgb(128, 120, 40)
HSLhsl(55, 52%, 33%)
HSVhsv(55, 69%, 50%)
CMYKcmyk(0%, 6.3%, 68.8%, 49.8%)
CIE-LABlab(49.71, -7.14, 43.27)
CIE-LCHlch(49.71, 43.86, 99.37°)
OKLaboklab(56.4% -0.0235 0.0974)
OKLCHoklch(56.4% 0.1 103.6)
XYZxyz(16.0022, 18.1760, 4.6725)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807828 #283080
analogous
#804C28 #807828 #5C8028
triadic
#807828 #288078 #782880
tetradic
#807828 #28804C #283080 #80285C
square
#807828 #28804C #283080 #80285C
split-complementary
#807828 #285C80 #4C2880
monochromatic
#23210B #514C19 #807828 #AFA437 #CBC058

Accessibility & contrast

On white

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

On black

4.64
#807828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807828
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807828#FFFFFF#000000##000000
##8078281.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #807828;
/* rgb */ color: rgb(128, 120, 40);
/* oklch */ color: oklch(56.4% 0.100 103.6);
Tailwind
colors: {
  custom: {
    50: '#a89e67',
    500: '#807828',
    950: '#000000',
  },
}
SCSS
$custom: #807828;
$custom-light: #a89e67;
$custom-dark: #000000;
JSON
{
  "hex": "#807828",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 54.545,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.10024,
    "h": 103.6
  },
  "luminance": 0.18175
}

Semantic roles & 50–950 ramp

primary
#807828
secondary
#545CB0
accent
#59DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807828

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

Preview Lab → · Contrast checker → · Palette generator →

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