#817026#817026

#817026 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.7% C 0.095 H 96.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#817026
RGBrgb(129, 112, 38)
HSLhsl(49, 54%, 33%)
HSVhsv(49, 71%, 51%)
CMYKcmyk(0%, 13.2%, 70.5%, 49.4%)
CIE-LABlab(47.49, -2.28, 41.90)
CIE-LCHlch(47.49, 41.96, 93.11°)
OKLaboklab(54.66% -0.01 0.0942)
OKLCHoklch(54.66% 0.095 96.1)
XYZxyz(15.1980, 16.3962, 4.1976)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817026 #263781
analogous
#814226 #817026 #658126
triadic
#817026 #268170 #702681
tetradic
#817026 #268142 #263781 #812665
square
#817026 #268142 #263781 #812665
split-complementary
#817026 #266581 #422681
monochromatic
#221E0A #524718 #817026 #B09934 #CDB655

Accessibility & contrast

On white

4.91
#817026 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#817026 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817026
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817026#FFFFFF#000000##FFFFFF
##8170261.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1C
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#8B6761
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #817026;
/* rgb */ color: rgb(129, 112, 38);
/* oklch */ color: oklch(54.7% 0.095 96.1);
Tailwind
colors: {
  custom: {
    50: '#a99865',
    500: '#817026',
    950: '#000000',
  },
}
SCSS
$custom: #817026;
$custom-light: #a99865;
$custom-dark: #000000;
JSON
{
  "hex": "#817026",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 38
  },
  "hsl": {
    "h": 48.791,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54658,
    "c": 0.09469,
    "h": 96.1
  },
  "luminance": 0.16395
}

Semantic roles & 50–950 ramp

primary
#817026
secondary
#5163B1
accent
#66DE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #817026

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

Preview Lab → · Contrast checker → · Palette generator →

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