#817215#817215

#817215 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.107 H 99.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#817215
RGBrgb(129, 114, 21)
HSLhsl(52, 72%, 29%)
HSVhsv(52, 84%, 51%)
CMYKcmyk(0%, 11.6%, 83.7%, 49.4%)
CIE-LABlab(47.95, -4.22, 48.91)
CIE-LCHlch(47.95, 49.09, 94.93°)
OKLaboklab(54.99% -0.0174 0.1056)
OKLCHoklch(54.99% 0.107 99.3)
XYZxyz(15.2067, 16.7567, 3.1427)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817215 #152481
analogous
#813C15 #817215 #5A8115
triadic
#817215 #158172 #721581
tetradic
#817215 #15813C #152481 #81155A
square
#817215 #15813C #152481 #81155A
split-complementary
#817215 #155A81 #3C1581
monochromatic
#1A1704 #4C430C #817215 #B6A11E #DEC633

Accessibility & contrast

On white

4.83
#817215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#817215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817215
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817215#FFFFFF#000000##FFFFFF
##8172151.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#82741C
Tritanopia (blue-blind)
#8C6961
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #817215;
/* rgb */ color: rgb(129, 114, 21);
/* oklch */ color: oklch(55.0% 0.107 99.3);
Tailwind
colors: {
  custom: {
    50: '#a99a5c',
    500: '#817215',
    950: '#000000',
  },
}
SCSS
$custom: #817215;
$custom-light: #a99a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#817215",
  "rgb": {
    "r": 129,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 51.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.10701,
    "h": 99.3
  },
  "luminance": 0.16756
}

Semantic roles & 50–950 ramp

primary
#817215
secondary
#3C4DB6
accent
#52EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #817215

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

Preview Lab → · Contrast checker → · Palette generator →

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