#808226#808226

#808226 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.7% C 0.112 H 110.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#808226
RGBrgb(128, 130, 38)
HSLhsl(61, 55%, 33%)
HSVhsv(61, 71%, 51%)
CMYKcmyk(1.5%, 0%, 70.8%, 49%)
CIE-LABlab(52.61, -12.74, 47.06)
CIE-LCHlch(52.61, 48.76, 105.15°)
OKLaboklab(58.71% -0.0396 0.1051)
OKLCHoklch(58.71% 0.112 110.6)
XYZxyz(17.2351, 20.6949, 4.9200)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808226 #282682
analogous
#825626 #808226 #528226
triadic
#808226 #268082 #822680
tetradic
#808226 #268256 #282682 #822652
square
#808226 #268256 #282682 #822652
split-complementary
#808226 #265282 #562682
monochromatic
#23230A #515318 #808226 #AFB134 #CBCD55

Accessibility & contrast

On white

4.09
#808226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#808226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808226
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808226#FFFFFF#000000##000000
##8082261.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C17
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#897A70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #808226;
/* rgb */ color: rgb(128, 130, 38);
/* oklch */ color: oklch(58.7% 0.112 110.6);
Tailwind
colors: {
  custom: {
    50: '#a8a667',
    500: '#808226',
    950: '#000000',
  },
}
SCSS
$custom: #808226;
$custom-light: #a8a667;
$custom-dark: #000000;
JSON
{
  "hex": "#808226",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 61.304,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58712,
    "c": 0.11229,
    "h": 110.6
  },
  "luminance": 0.20694
}

Semantic roles & 50–950 ramp

primary
#808226
secondary
#5452B2
accent
#4ADE4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808226

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

Preview Lab → · Contrast checker → · Palette generator →

#808226 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva