#9C821D#9C821D

#9C821D is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.4% C 0.117 H 93.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9C821D
RGBrgb(156, 130, 29)
HSLhsl(48, 69%, 36%)
HSVhsv(48, 81%, 61%)
CMYKcmyk(0%, 16.7%, 81.4%, 38.8%)
CIE-LABlab(55.20, -0.29, 53.76)
CIE-LCHlch(55.20, 53.76, 90.31°)
OKLaboklab(61.38% -0.0069 0.1163)
OKLCHoklch(61.38% 0.117 93.4)
XYZxyz(21.9160, 23.1232, 4.4710)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C821D #1D379C
analogous
#9C431D #9C821D #779C1D
triadic
#9C821D #1D9C82 #821D9C
tetradic
#9C821D #1D9C43 #1D379C #9C1D77
square
#9C821D #1D9C43 #1D379C #9C1D77
split-complementary
#9C821D #1D779C #431D9C
monochromatic
#352C0A #685713 #9C821D #D0AD27 #DFC354

Accessibility & contrast

On white

3.73
#9C821D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#9C821D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C821D
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C821D#FFFFFF#000000##000000
##9C821D1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918003
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#A9776F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c821d;
/* rgb */ color: rgb(156, 130, 29);
/* oklch */ color: oklch(61.4% 0.117 93.4);
Tailwind
colors: {
  custom: {
    50: '#bda563',
    500: '#9c821d',
    950: '#000000',
  },
}
SCSS
$custom: #9c821d;
$custom-light: #bda563;
$custom-dark: #000000;
JSON
{
  "hex": "#9c821d",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 47.717,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61376,
    "c": 0.11655,
    "h": 93.4
  },
  "luminance": 0.23122
}

Semantic roles & 50–950 ramp

primary
#9C821D
secondary
#5269C2
accent
#60EB3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C821D

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

Preview Lab → · Contrast checker → · Palette generator →

#9C821D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva