#817027#817027

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

Color values

HEX#817027
RGBrgb(129, 112, 39)
HSLhsl(49, 54%, 33%)
HSVhsv(49, 70%, 51%)
CMYKcmyk(0%, 13.2%, 69.8%, 49.4%)
CIE-LABlab(47.50, -2.22, 41.46)
CIE-LCHlch(47.50, 41.52, 93.06°)
OKLaboklab(54.67% -0.0097 0.0934)
OKLCHoklch(54.67% 0.094 95.9)
XYZxyz(15.2144, 16.4027, 4.2837)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817027 #273881
analogous
#814327 #817027 #658127
triadic
#817027 #278170 #702781
tetradic
#817027 #278143 #273881 #812765
square
#817027 #278143 #273881 #812765
split-complementary
#817027 #276581 #432781
monochromatic
#231E0B #524719 #817027 #B09935 #CCB656

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817027#FFFFFF#000000##FFFFFF
##8170271.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)
#7C6E1E
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#8B6761
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #817027;
/* rgb */ color: rgb(129, 112, 39);
/* oklch */ color: oklch(54.7% 0.094 95.9);
Tailwind
colors: {
  custom: {
    50: '#a89865',
    500: '#817027',
    950: '#000000',
  },
}
SCSS
$custom: #817027;
$custom-light: #a89865;
$custom-dark: #000000;
JSON
{
  "hex": "#817027",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 39
  },
  "hsl": {
    "h": 48.667,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54668,
    "c": 0.0939,
    "h": 95.9
  },
  "luminance": 0.16402
}

Semantic roles & 50–950 ramp

primary
#817027
secondary
#5365B1
accent
#66DD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #817027

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

Preview Lab → · Contrast checker → · Palette generator →

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