#817124#817124

#817124 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.9% C 0.097 H 97.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#817124
RGBrgb(129, 113, 36)
HSLhsl(50, 56%, 32%)
HSVhsv(50, 72%, 51%)
CMYKcmyk(0%, 12.4%, 72.1%, 49.4%)
CIE-LABlab(47.76, -2.97, 43.06)
CIE-LCHlch(47.76, 43.16, 93.94°)
OKLaboklab(54.87% -0.0122 0.0962)
OKLCHoklch(54.87% 0.097 97.2)
XYZxyz(15.2776, 16.6055, 4.0692)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817124 #243481
analogous
#814224 #817124 #638124
triadic
#817124 #248171 #712481
tetradic
#817124 #248142 #243481 #812463
square
#817124 #248142 #243481 #812463
split-complementary
#817124 #246381 #422481
monochromatic
#211D09 #514717 #817124 #B19B31 #CEB951

Accessibility & contrast

On white

4.86
#817124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#817124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817124
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817124#FFFFFF#000000##FFFFFF
##8171241.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E19
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#8B6861
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #817124;
/* rgb */ color: rgb(129, 113, 36);
/* oklch */ color: oklch(54.9% 0.097 97.2);
Tailwind
colors: {
  custom: {
    50: '#a99964',
    500: '#817124',
    950: '#000000',
  },
}
SCSS
$custom: #817124;
$custom-light: #a99964;
$custom-dark: #000000;
JSON
{
  "hex": "#817124",
  "rgb": {
    "r": 129,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 49.677,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.09701,
    "h": 97.2
  },
  "luminance": 0.16605
}

Semantic roles & 50–950 ramp

primary
#817124
secondary
#4E60B2
accent
#62E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #817124

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

Preview Lab → · Contrast checker → · Palette generator →

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