#817019#817019

#817019 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.6% C 0.103 H 97.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#817019
RGBrgb(129, 112, 25)
HSLhsl(50, 68%, 30%)
HSVhsv(50, 81%, 51%)
CMYKcmyk(0%, 13.2%, 80.6%, 49.4%)
CIE-LABlab(47.40, -2.93, 47.08)
CIE-LCHlch(47.40, 47.17, 93.56°)
OKLaboklab(54.56% -0.0134 0.1025)
OKLCHoklch(54.56% 0.103 97.4)
XYZxyz(15.0237, 16.3265, 3.2795)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817019 #192A81
analogous
#813C19 #817019 #5E8119
triadic
#817019 #198170 #701981
tetradic
#817019 #19813C #192A81 #81195E
square
#817019 #19813C #192A81 #81195E
split-complementary
#817019 #195E81 #3C1981
monochromatic
#1A1705 #4E430F #817019 #B49D23 #D9BF3B

Accessibility & contrast

On white

4.92
#817019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#817019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817019
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817019#FFFFFF#000000##FFFFFF
##8170191.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#8C6760
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #817019;
/* rgb */ color: rgb(129, 112, 25);
/* oklch */ color: oklch(54.6% 0.103 97.4);
Tailwind
colors: {
  custom: {
    50: '#a9985e',
    500: '#817019',
    950: '#000000',
  },
}
SCSS
$custom: #817019;
$custom-light: #a9985e;
$custom-dark: #000000;
JSON
{
  "hex": "#817019",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 50.192,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54558,
    "c": 0.10338,
    "h": 97.4
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#817019
secondary
#4154B5
accent
#5AEA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #817019

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

Preview Lab → · Contrast checker → · Palette generator →

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