#817826#817826

#817826 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.5% C 0.102 H 103.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#817826
RGBrgb(129, 120, 38)
HSLhsl(54, 54%, 33%)
HSVhsv(54, 71%, 51%)
CMYKcmyk(0%, 7%, 70.5%, 49.4%)
CIE-LABlab(49.79, -6.80, 44.25)
CIE-LCHlch(49.79, 44.77, 98.73°)
OKLaboklab(56.48% -0.0229 0.0991)
OKLCHoklch(56.48% 0.102 103)
XYZxyz(16.1203, 18.2407, 4.5050)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817826 #262F81
analogous
#814A26 #817826 #5C8126
triadic
#817826 #268178 #782681
tetradic
#817826 #26814A #262F81 #81265C
square
#817826 #26814A #262F81 #81265C
split-complementary
#817826 #265C81 #4A2681
monochromatic
#22200A #524C18 #817826 #B0A434 #CDC155

Accessibility & contrast

On white

4.52
#817826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#817826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817826
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817826#FFFFFF#000000##000000
##8178261.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741A
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#8B6F67
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #817826;
/* rgb */ color: rgb(129, 120, 38);
/* oklch */ color: oklch(56.5% 0.102 103.0);
Tailwind
colors: {
  custom: {
    50: '#a89e65',
    500: '#817826',
    950: '#000000',
  },
}
SCSS
$custom: #817826;
$custom-light: #a89e65;
$custom-dark: #000000;
JSON
{
  "hex": "#817826",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 38
  },
  "hsl": {
    "h": 54.066,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5648,
    "c": 0.10172,
    "h": 103
  },
  "luminance": 0.1824
}

Semantic roles & 50–950 ramp

primary
#817826
secondary
#515BB1
accent
#59DE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #817826

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

Preview Lab → · Contrast checker → · Palette generator →

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