#807E28#807E28

#807E28 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.106 H 108.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#807E28
RGBrgb(128, 126, 40)
HSLhsl(59, 52%, 33%)
HSVhsv(59, 69%, 50%)
CMYKcmyk(0%, 1.6%, 68.8%, 49.8%)
CIE-LABlab(51.46, -10.45, 45.06)
CIE-LCHlch(51.46, 46.26, 103.06°)
OKLaboklab(57.79% -0.0329 0.1012)
OKLCHoklch(57.79% 0.106 108)
XYZxyz(16.7465, 19.6646, 4.9206)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E28 #282A80
analogous
#805228 #807E28 #568028
triadic
#807E28 #28807E #7E2880
tetradic
#807E28 #288052 #282A80 #802856
square
#807E28 #288052 #282A80 #802856
split-complementary
#807E28 #285680 #522880
monochromatic
#23220B #515019 #807E28 #AFAC37 #CBC858

Accessibility & contrast

On white

4.26
#807E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#807E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807E28
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807E28#FFFFFF#000000##000000
##807E281.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791C
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#89766D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807e28;
/* rgb */ color: rgb(128, 126, 40);
/* oklch */ color: oklch(57.8% 0.106 108.0);
Tailwind
colors: {
  custom: {
    50: '#a8a367',
    500: '#807e28',
    950: '#000000',
  },
}
SCSS
$custom: #807e28;
$custom-light: #a8a367;
$custom-dark: #000000;
JSON
{
  "hex": "#807e28",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 58.636,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57792,
    "c": 0.10645,
    "h": 108
  },
  "luminance": 0.19664
}

Semantic roles & 50–950 ramp

primary
#807E28
secondary
#5456B0
accent
#4FDC4C
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807E28

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

Preview Lab → · Contrast checker → · Palette generator →

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