#807428#807428

#807428 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.5% C 0.096 H 100.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#807428
RGBrgb(128, 116, 40)
HSLhsl(52, 52%, 33%)
HSVhsv(52, 69%, 50%)
CMYKcmyk(0%, 9.4%, 68.8%, 49.8%)
CIE-LABlab(48.55, -4.89, 42.07)
CIE-LCHlch(48.55, 42.36, 96.64°)
OKLaboklab(55.48% -0.0172 0.0949)
OKLCHoklch(55.48% 0.096 100.2)
XYZxyz(15.5311, 17.2339, 4.5155)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807428 #283480
analogous
#804828 #807428 #608028
triadic
#807428 #288074 #742880
tetradic
#807428 #288048 #283480 #802860
square
#807428 #288048 #283480 #802860
split-complementary
#807428 #286080 #482880
monochromatic
#231F0B #514A19 #807428 #AF9E37 #CBBB58

Accessibility & contrast

On white

4.72
#807428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#807428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807428
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807428#FFFFFF#000000##FFFFFF
##8074281.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711E
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#8A6C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #807428;
/* rgb */ color: rgb(128, 116, 40);
/* oklch */ color: oklch(55.5% 0.096 100.2);
Tailwind
colors: {
  custom: {
    50: '#a89b66',
    500: '#807428',
    950: '#000000',
  },
}
SCSS
$custom: #807428;
$custom-light: #a89b66;
$custom-dark: #000000;
JSON
{
  "hex": "#807428",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 51.818,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55483,
    "c": 0.09645,
    "h": 100.2
  },
  "luminance": 0.17233
}

Semantic roles & 50–950 ramp

primary
#807428
secondary
#5461B0
accent
#60DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807428

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

Preview Lab → · Contrast checker → · Palette generator →

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