#808B26#808B26

#808B26 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.8% C 0.123 H 115.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#808B26
RGBrgb(128, 139, 38)
HSLhsl(67, 57%, 35%)
HSVhsv(67, 73%, 55%)
CMYKcmyk(7.9%, 0%, 72.7%, 45.5%)
CIE-LABlab(55.27, -17.52, 49.69)
CIE-LCHlch(55.27, 52.69, 109.42°)
OKLaboklab(60.84% -0.0529 0.1106)
OKLCHoklch(60.84% 0.123 115.6)
XYZxyz(18.4850, 23.1947, 5.3366)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B26 #31268B
analogous
#8B6426 #808B26 #4D8B26
triadic
#808B26 #26808B #8B2680
tetradic
#808B26 #268B64 #31268B #8B264D
square
#808B26 #268B64 #31268B #8B264D
split-complementary
#808B26 #264D8B #64268B
monochromatic
#272B0C #545B19 #808B26 #ACBB33 #C5D25A

Accessibility & contrast

On white

3.72
#808B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#808B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808B26
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808B26#FFFFFF#000000##000000
##808B261.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958414
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#888377
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b26;
/* rgb */ color: rgb(128, 139, 38);
/* oklch */ color: oklch(60.8% 0.123 115.6);
Tailwind
colors: {
  custom: {
    50: '#a8ac68',
    500: '#808b26',
    950: '#000000',
  },
}
SCSS
$custom: #808b26;
$custom-light: #a8ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#808b26",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 66.535,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60841,
    "c": 0.12262,
    "h": 115.6
  },
  "luminance": 0.23194
}

Semantic roles & 50–950 ramp

primary
#808B26
secondary
#6156B7
accent
#47E058
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808B26

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

Preview Lab → · Contrast checker → · Palette generator →

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