#817219#817219

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

Color values

HEX#817219
RGBrgb(129, 114, 25)
HSLhsl(51, 68%, 30%)
HSVhsv(51, 81%, 51%)
CMYKcmyk(0%, 11.6%, 80.6%, 49.4%)
CIE-LABlab(47.97, -4.07, 47.60)
CIE-LCHlch(47.97, 47.78, 94.88°)
OKLaboklab(55.01% -0.0166 0.1036)
OKLCHoklch(55.01% 0.105 99.1)
XYZxyz(15.2468, 16.7727, 3.3539)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817219 #192881
analogous
#813E19 #817219 #5C8119
triadic
#817219 #198172 #721981
tetradic
#817219 #19813E #192881 #81195C
square
#817219 #19813E #192881 #81195C
split-complementary
#817219 #195C81 #3E1981
monochromatic
#1A1705 #4E450F #817219 #B49F23 #D9C23B

Accessibility & contrast

On white

4.82
#817219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #817219
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817219#FFFFFF#000000##FFFFFF
##8172191.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #817219;
/* rgb */ color: rgb(129, 114, 25);
/* oklch */ color: oklch(55.0% 0.105 99.1);
Tailwind
colors: {
  custom: {
    50: '#a99a5e',
    500: '#817219',
    950: '#000000',
  },
}
SCSS
$custom: #817219;
$custom-light: #a99a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#817219",
  "rgb": {
    "r": 129,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 51.346,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55012,
    "c": 0.10495,
    "h": 99.1
  },
  "luminance": 0.16772
}

Semantic roles & 50–950 ramp

primary
#817219
secondary
#4152B5
accent
#56EA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817219

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

Preview Lab → · Contrast checker → · Palette generator →

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