#817824#817824

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

Color values

HEX#817824
RGBrgb(129, 120, 36)
HSLhsl(54, 56%, 32%)
HSVhsv(54, 72%, 51%)
CMYKcmyk(0%, 7%, 72.1%, 49.4%)
CIE-LABlab(49.77, -6.91, 45.08)
CIE-LCHlch(49.77, 45.61, 98.72°)
OKLaboklab(56.46% -0.0234 0.1005)
OKLCHoklch(56.46% 0.103 103.1)
XYZxyz(16.0888, 18.2281, 4.3396)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817824 #242D81
analogous
#814A24 #817824 #5B8124
triadic
#817824 #248178 #782481
tetradic
#817824 #24814A #242D81 #81245B
square
#817824 #24814A #242D81 #81245B
split-complementary
#817824 #245B81 #4A2481
monochromatic
#211F09 #514B17 #817824 #B1A531 #CEC251

Accessibility & contrast

On white

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

On black

4.65
#817824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817824
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817824#FFFFFF#000000##000000
##8178241.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #817824;
/* rgb */ color: rgb(129, 120, 36);
/* oklch */ color: oklch(56.5% 0.103 103.1);
Tailwind
colors: {
  custom: {
    50: '#a99e64',
    500: '#817824',
    950: '#000000',
  },
}
SCSS
$custom: #817824;
$custom-light: #a99e64;
$custom-dark: #000000;
JSON
{
  "hex": "#817824",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 36
  },
  "hsl": {
    "h": 54.194,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.1032,
    "h": 103.1
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

primary
#817824
secondary
#4E58B2
accent
#57E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #817824

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

Preview Lab → · Contrast checker → · Palette generator →

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