#817C23#817C23

#817C23 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.108 H 106.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#817C23
RGBrgb(129, 124, 35)
HSLhsl(57, 57%, 32%)
HSVhsv(57, 73%, 51%)
CMYKcmyk(0%, 3.9%, 72.9%, 49.4%)
CIE-LABlab(50.93, -9.18, 46.63)
CIE-LCHlch(50.93, 47.53, 101.14°)
OKLaboklab(57.38% -0.0299 0.1036)
OKLCHoklch(57.38% 0.108 106.1)
XYZxyz(16.5649, 19.2044, 4.4240)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C23 #232881
analogous
#814D23 #817C23 #578123
triadic
#817C23 #23817C #7C2381
tetradic
#817C23 #23814D #232881 #812357
square
#817C23 #23814D #232881 #812357
split-complementary
#817C23 #235781 #4D2381
monochromatic
#211F09 #514E16 #817C23 #B1AA30 #CFC84F

Accessibility & contrast

On white

4.34
#817C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#817C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817C23
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817C23#FFFFFF#000000##000000
##817C231.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877714
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#8B736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817c23;
/* rgb */ color: rgb(129, 124, 35);
/* oklch */ color: oklch(57.4% 0.108 106.1);
Tailwind
colors: {
  custom: {
    50: '#a9a164',
    500: '#817c23',
    950: '#000000',
  },
}
SCSS
$custom: #817c23;
$custom-light: #a9a164;
$custom-dark: #000000;
JSON
{
  "hex": "#817c23",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 56.809,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57379,
    "c": 0.10783,
    "h": 106.1
  },
  "luminance": 0.19204
}

Semantic roles & 50–950 ramp

primary
#817C23
secondary
#4D52B3
accent
#4FE147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #817C23

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

Preview Lab → · Contrast checker → · Palette generator →

#817C23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva