#807F28#807F28

#807F28 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.0% C 0.108 H 108.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#807F28
RGBrgb(128, 127, 40)
HSLhsl(59, 52%, 33%)
HSVhsv(59, 69%, 50%)
CMYKcmyk(0%, 0.8%, 68.8%, 49.8%)
CIE-LABlab(51.75, -11.00, 45.36)
CIE-LCHlch(51.75, 46.68, 103.63°)
OKLaboklab(58.03% -0.0344 0.1019)
OKLCHoklch(58.03% 0.108 108.7)
XYZxyz(16.8750, 19.9216, 4.9634)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F28 #282980
analogous
#805328 #807F28 #558028
triadic
#807F28 #28807F #7F2880
tetradic
#807F28 #288053 #282980 #802855
square
#807F28 #288053 #282980 #802855
split-complementary
#807F28 #285580 #532880
monochromatic
#23220B #515119 #807F28 #AFAD37 #CBC958

Accessibility & contrast

On white

4.21
#807F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#807F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807F28
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807F28#FFFFFF#000000##000000
##807F281.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1B
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#89776D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f28;
/* rgb */ color: rgb(128, 127, 40);
/* oklch */ color: oklch(58.0% 0.108 108.7);
Tailwind
colors: {
  custom: {
    50: '#a8a367',
    500: '#807f28',
    950: '#000000',
  },
}
SCSS
$custom: #807f28;
$custom-light: #a8a367;
$custom-dark: #000000;
JSON
{
  "hex": "#807f28",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 59.318,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58025,
    "c": 0.10752,
    "h": 108.7
  },
  "luminance": 0.19921
}

Semantic roles & 50–950 ramp

primary
#807F28
secondary
#5455B0
accent
#4EDC4C
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807F28

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

Preview Lab → · Contrast checker → · Palette generator →

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