#807B26#807B26

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

Color values

HEX#807B26
RGBrgb(128, 123, 38)
HSLhsl(57, 54%, 33%)
HSVhsv(57, 70%, 50%)
CMYKcmyk(0%, 3.9%, 70.3%, 49.8%)
CIE-LABlab(50.56, -8.92, 45.01)
CIE-LCHlch(50.56, 45.89, 101.21°)
OKLaboklab(57.08% -0.0288 0.1008)
OKLCHoklch(57.08% 0.105 106)
XYZxyz(16.3355, 18.8956, 4.6201)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807B26 #262B80
analogous
#804E26 #807B26 #588026
triadic
#807B26 #26807B #7B2680
tetradic
#807B26 #26804E #262B80 #802658
square
#807B26 #26804E #262B80 #802658
split-complementary
#807B26 #265880 #4E2680
monochromatic
#22200A #514E18 #807B26 #AFA834 #CCC654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807B26#FFFFFF#000000##000000
##807B261.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)
#867619
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#8A736A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #807b26;
/* rgb */ color: rgb(128, 123, 38);
/* oklch */ color: oklch(57.1% 0.105 106.0);
Tailwind
colors: {
  custom: {
    50: '#a8a066',
    500: '#807b26',
    950: '#000000',
  },
}
SCSS
$custom: #807b26;
$custom-light: #a8a066;
$custom-dark: #000000;
JSON
{
  "hex": "#807b26",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 56.667,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57077,
    "c": 0.10479,
    "h": 106
  },
  "luminance": 0.18895
}

Semantic roles & 50–950 ramp

primary
#807B26
secondary
#5156B1
accent
#52DE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807B26

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

Preview Lab → · Contrast checker → · Palette generator →

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