#817023#817023

#817023 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.097 H 96.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#817023
RGBrgb(129, 112, 35)
HSLhsl(49, 57%, 32%)
HSVhsv(49, 73%, 51%)
CMYKcmyk(0%, 13.2%, 72.9%, 49.4%)
CIE-LABlab(47.47, -2.45, 43.20)
CIE-LCHlch(47.47, 43.27, 93.25°)
OKLaboklab(54.63% -0.0109 0.0963)
OKLCHoklch(54.63% 0.097 96.4)
XYZxyz(15.1515, 16.3776, 3.9529)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817023 #233481
analogous
#814123 #817023 #638123
triadic
#817023 #238170 #702381
tetradic
#817023 #238141 #233481 #812363
square
#817023 #238141 #233481 #812363
split-complementary
#817023 #236381 #412381
monochromatic
#211C09 #514616 #817023 #B19A30 #CFB84F

Accessibility & contrast

On white

4.91
#817023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#817023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817023
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817023#FFFFFF#000000##FFFFFF
##8170231.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D18
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#8B6760
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #817023;
/* rgb */ color: rgb(129, 112, 35);
/* oklch */ color: oklch(54.6% 0.097 96.4);
Tailwind
colors: {
  custom: {
    50: '#a99863',
    500: '#817023',
    950: '#000000',
  },
}
SCSS
$custom: #817023;
$custom-light: #a99863;
$custom-dark: #000000;
JSON
{
  "hex": "#817023",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 35
  },
  "hsl": {
    "h": 49.149,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.09695,
    "h": 96.4
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#817023
secondary
#4D5FB3
accent
#63E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #817023

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

Preview Lab → · Contrast checker → · Palette generator →

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