#807E26#807E26

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

Color values

HEX#807E26
RGBrgb(128, 126, 38)
HSLhsl(59, 54%, 33%)
HSVhsv(59, 70%, 50%)
CMYKcmyk(0%, 1.6%, 70.3%, 49.8%)
CIE-LABlab(51.44, -10.57, 45.89)
CIE-LCHlch(51.44, 47.09, 102.97°)
OKLaboklab(57.78% -0.0335 0.1026)
OKLCHoklch(57.78% 0.108 108.1)
XYZxyz(16.7134, 19.6514, 4.7460)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E26 #262880
analogous
#805126 #807E26 #558026
triadic
#807E26 #26807E #7E2680
tetradic
#807E26 #268051 #262880 #802655
square
#807E26 #268051 #262880 #802655
split-complementary
#807E26 #265580 #512680
monochromatic
#22210A #515018 #807E26 #AFAC34 #CCCA54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807E26#FFFFFF#000000##000000
##807E261.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)
#897919
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#89766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807e26;
/* rgb */ color: rgb(128, 126, 38);
/* oklch */ color: oklch(57.8% 0.108 108.1);
Tailwind
colors: {
  custom: {
    50: '#a8a366',
    500: '#807e26',
    950: '#000000',
  },
}
SCSS
$custom: #807e26;
$custom-light: #a8a366;
$custom-dark: #000000;
JSON
{
  "hex": "#807e26",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 58.667,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57775,
    "c": 0.10793,
    "h": 108.1
  },
  "luminance": 0.19651
}

Semantic roles & 50–950 ramp

primary
#807E26
secondary
#5153B1
accent
#4DDE4A
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807E26

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

Preview Lab → · Contrast checker → · Palette generator →

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