#807D28#807D28

#807D28 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.105 H 107.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#807D28
RGBrgb(128, 125, 40)
HSLhsl(58, 52%, 33%)
HSVhsv(58, 69%, 50%)
CMYKcmyk(0%, 2.3%, 68.8%, 49.8%)
CIE-LABlab(51.16, -9.90, 44.77)
CIE-LCHlch(51.16, 45.85, 102.48°)
OKLaboklab(57.56% -0.0314 0.1006)
OKLCHoklch(57.56% 0.105 107.3)
XYZxyz(16.6193, 19.4102, 4.8782)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D28 #282B80
analogous
#805128 #807D28 #578028
triadic
#807D28 #28807D #7D2880
tetradic
#807D28 #288051 #282B80 #802857
square
#807D28 #288051 #282B80 #802857
split-complementary
#807D28 #285780 #512880
monochromatic
#23220B #514F19 #807D28 #AFAB37 #CBC758

Accessibility & contrast

On white

4.30
#807D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#807D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807D28
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807D28#FFFFFF#000000##000000
##807D281.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781C
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#89756C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d28;
/* rgb */ color: rgb(128, 125, 40);
/* oklch */ color: oklch(57.6% 0.105 107.3);
Tailwind
colors: {
  custom: {
    50: '#a8a267',
    500: '#807d28',
    950: '#000000',
  },
}
SCSS
$custom: #807d28;
$custom-light: #a8a267;
$custom-dark: #000000;
JSON
{
  "hex": "#807d28",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 57.955,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57559,
    "c": 0.10538,
    "h": 107.3
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#807D28
secondary
#5457B0
accent
#51DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #807D28

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

Preview Lab → · Contrast checker → · Palette generator →

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