#807B28#807B28

#807B28 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.1% C 0.103 H 105.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#807B28
RGBrgb(128, 123, 40)
HSLhsl(57, 52%, 33%)
HSVhsv(57, 69%, 50%)
CMYKcmyk(0%, 3.9%, 68.8%, 49.8%)
CIE-LABlab(50.58, -8.80, 44.17)
CIE-LCHlch(50.58, 45.04, 101.27°)
OKLaboklab(57.09% -0.0283 0.0993)
OKLCHoklch(57.09% 0.103 105.9)
XYZxyz(16.3687, 18.9089, 4.7946)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807B28 #282D80
analogous
#804F28 #807B28 #598028
triadic
#807B28 #28807B #7B2880
tetradic
#807B28 #28804F #282D80 #802859
square
#807B28 #28804F #282D80 #802859
split-complementary
#807B28 #285980 #4F2880
monochromatic
#23210B #514E19 #807B28 #AFA837 #CBC458

Accessibility & contrast

On white

4.39
#807B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#807B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807B28
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807B28#FFFFFF#000000##000000
##807B281.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86761D
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#89736A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #807b28;
/* rgb */ color: rgb(128, 123, 40);
/* oklch */ color: oklch(57.1% 0.103 105.9);
Tailwind
colors: {
  custom: {
    50: '#a8a067',
    500: '#807b28',
    950: '#000000',
  },
}
SCSS
$custom: #807b28;
$custom-light: #a8a067;
$custom-dark: #000000;
JSON
{
  "hex": "#807b28",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 56.591,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57094,
    "c": 0.10328,
    "h": 105.9
  },
  "luminance": 0.18908
}

Semantic roles & 50–950 ramp

primary
#807B28
secondary
#5459B0
accent
#54DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807B28

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

Preview Lab → · Contrast checker → · Palette generator →

#807B28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva