#817823#817823

#817823 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.5% C 0.104 H 103.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#817823
RGBrgb(129, 120, 35)
HSLhsl(54, 57%, 32%)
HSVhsv(54, 73%, 51%)
CMYKcmyk(0%, 7%, 72.9%, 49.4%)
CIE-LABlab(49.76, -6.97, 45.49)
CIE-LCHlch(49.76, 46.02, 98.71°)
OKLaboklab(56.46% -0.0237 0.1012)
OKLCHoklch(56.46% 0.104 103.2)
XYZxyz(16.0738, 18.2221, 4.2603)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817823 #232C81
analogous
#814923 #817823 #5B8123
triadic
#817823 #238178 #782381
tetradic
#817823 #238149 #232C81 #81235B
square
#817823 #238149 #232C81 #81235B
split-complementary
#817823 #235B81 #492381
monochromatic
#211E09 #514B16 #817823 #B1A530 #CFC34F

Accessibility & contrast

On white

4.52
#817823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#817823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817823
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817823#FFFFFF#000000##000000
##8178231.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#837416
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#8B6F67
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #817823;
/* rgb */ color: rgb(129, 120, 35);
/* oklch */ color: oklch(56.5% 0.104 103.2);
Tailwind
colors: {
  custom: {
    50: '#a99e64',
    500: '#817823',
    950: '#000000',
  },
}
SCSS
$custom: #817823;
$custom-light: #a99e64;
$custom-dark: #000000;
JSON
{
  "hex": "#817823",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 54.255,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56455,
    "c": 0.10391,
    "h": 103.2
  },
  "luminance": 0.18221
}

Semantic roles & 50–950 ramp

primary
#817823
secondary
#4D57B3
accent
#56E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #817823

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

Preview Lab → · Contrast checker → · Palette generator →

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