#9C821E#9C821E

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

Color values

HEX#9C821E
RGBrgb(156, 130, 30)
HSLhsl(48, 68%, 36%)
HSVhsv(48, 81%, 61%)
CMYKcmyk(0%, 16.7%, 80.8%, 38.8%)
CIE-LABlab(55.20, -0.25, 53.43)
CIE-LCHlch(55.20, 53.43, 90.27°)
OKLaboklab(61.38% -0.0067 0.1158)
OKLCHoklch(61.38% 0.116 93.3)
XYZxyz(21.9285, 23.1282, 4.5372)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C821E #1E389C
analogous
#9C431E #9C821E #779C1E
triadic
#9C821E #1E9C82 #821E9C
tetradic
#9C821E #1E9C43 #1E389C #9C1E77
square
#9C821E #1E9C43 #1E389C #9C1E77
split-complementary
#9C821E #1E779C #431E9C
monochromatic
#352C0A #695714 #9C821E #CFAD28 #DEC256

Accessibility & contrast

On white

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

On black

5.63
#9C821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C821E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C821E#FFFFFF#000000##000000
##9C821E1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c821e;
/* rgb */ color: rgb(156, 130, 30);
/* oklch */ color: oklch(61.4% 0.116 93.3);
Tailwind
colors: {
  custom: {
    50: '#bda563',
    500: '#9c821e',
    950: '#000000',
  },
}
SCSS
$custom: #9c821e;
$custom-light: #bda563;
$custom-dark: #000000;
JSON
{
  "hex": "#9c821e",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 47.619,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.11604,
    "h": 93.3
  },
  "luminance": 0.23127
}

Semantic roles & 50–950 ramp

primary
#9C821E
secondary
#546BC2
accent
#61EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C821E

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

Preview Lab → · Contrast checker → · Palette generator →

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