#817214#817214

#817214 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.107 H 99.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#817214
RGBrgb(129, 114, 20)
HSLhsl(52, 73%, 29%)
HSVhsv(52, 84%, 51%)
CMYKcmyk(0%, 11.6%, 84.5%, 49.4%)
CIE-LABlab(47.95, -4.25, 49.22)
CIE-LCHlch(47.95, 49.40, 94.94°)
OKLaboklab(54.98% -0.0175 0.106)
OKLCHoklch(54.98% 0.107 99.4)
XYZxyz(15.1976, 16.7530, 3.0948)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817214 #142381
analogous
#813C14 #817214 #5A8114
triadic
#817214 #148172 #721481
tetradic
#817214 #14813C #142381 #81145A
square
#817214 #14813C #142381 #81145A
split-complementary
#817214 #145A81 #3C1481
monochromatic
#1A1704 #4C430C #817214 #B6A11C #DFC730

Accessibility & contrast

On white

4.83
#817214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#817214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817214
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817214#FFFFFF#000000##FFFFFF
##8172141.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#82741C
Tritanopia (blue-blind)
#8C6961
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #817214;
/* rgb */ color: rgb(129, 114, 20);
/* oklch */ color: oklch(55.0% 0.107 99.4);
Tailwind
colors: {
  custom: {
    50: '#a99a5c',
    500: '#817214',
    950: '#000000',
  },
}
SCSS
$custom: #817214;
$custom-light: #a99a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#817214",
  "rgb": {
    "r": 129,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 51.743,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54984,
    "c": 0.10748,
    "h": 99.4
  },
  "luminance": 0.16752
}

Semantic roles & 50–950 ramp

primary
#817214
secondary
#3B4CB6
accent
#51F038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #817214

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

Preview Lab → · Contrast checker → · Palette generator →

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