#817229#817229

#817229 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.1% C 0.094 H 97.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#817229
RGBrgb(129, 114, 41)
HSLhsl(50, 52%, 33%)
HSVhsv(50, 68%, 51%)
CMYKcmyk(0%, 11.6%, 68.2%, 49.4%)
CIE-LABlab(48.09, -3.23, 41.16)
CIE-LCHlch(48.09, 41.28, 94.49°)
OKLaboklab(55.14% -0.0124 0.0931)
OKLCHoklch(55.14% 0.094 97.6)
XYZxyz(15.4715, 16.8626, 4.5373)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817229 #293881
analogous
#814629 #817229 #648129
triadic
#817229 #298172 #722981
tetradic
#817229 #298146 #293881 #812964
square
#817229 #298146 #293881 #812964
split-complementary
#817229 #296481 #462981
monochromatic
#24200B #53491A #817229 #AF9B38 #CBB75A

Accessibility & contrast

On white

4.80
#817229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#817229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817229
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817229#FFFFFF#000000##FFFFFF
##8172291.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F20
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#8B6963
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #817229;
/* rgb */ color: rgb(129, 114, 41);
/* oklch */ color: oklch(55.1% 0.094 97.6);
Tailwind
colors: {
  custom: {
    50: '#a89a67',
    500: '#817229',
    950: '#000000',
  },
}
SCSS
$custom: #817229;
$custom-light: #a89a67;
$custom-dark: #000000;
JSON
{
  "hex": "#817229",
  "rgb": {
    "r": 129,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 49.773,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55139,
    "c": 0.09393,
    "h": 97.6
  },
  "luminance": 0.16862
}

Semantic roles & 50–950 ramp

primary
#817229
secondary
#5665B0
accent
#65DB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #817229

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

Preview Lab → · Contrast checker → · Palette generator →

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