#9A821D#9A821D

#9A821D is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.116 H 94.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9A821D
RGBrgb(154, 130, 29)
HSLhsl(48, 68%, 36%)
HSVhsv(48, 81%, 60%)
CMYKcmyk(0%, 15.6%, 81.2%, 39.6%)
CIE-LABlab(55.00, -1.21, 53.50)
CIE-LCHlch(55.00, 53.51, 91.30°)
OKLaboklab(61.17% -0.0094 0.1159)
OKLCHoklch(61.17% 0.116 94.7)
XYZxyz(21.5320, 22.9253, 4.4531)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A821D #1D359A
analogous
#9A431D #9A821D #739A1D
triadic
#9A821D #1D9A82 #821D9A
tetradic
#9A821D #1D9A43 #1D359A #9A1D73
square
#9A821D #1D9A43 #1D359A #9A1D73
split-complementary
#9A821D #1D739A #431D9A
monochromatic
#332B0A #665713 #9A821D #CEAD27 #DFC453

Accessibility & contrast

On white

3.76
#9A821D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#9A821D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A821D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A821D#FFFFFF#000000##000000
##9A821D1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F03
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#A7776F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9a821d;
/* rgb */ color: rgb(154, 130, 29);
/* oklch */ color: oklch(61.2% 0.116 94.7);
Tailwind
colors: {
  custom: {
    50: '#bca563',
    500: '#9a821d',
    950: '#000000',
  },
}
SCSS
$custom: #9a821d;
$custom-light: #bca563;
$custom-dark: #000000;
JSON
{
  "hex": "#9a821d",
  "rgb": {
    "r": 154,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 48.48,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61168,
    "c": 0.11626,
    "h": 94.7
  },
  "luminance": 0.22924
}

Semantic roles & 50–950 ramp

primary
#9A821D
secondary
#5167C2
accent
#5EEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9A821D

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

Preview Lab → · Contrast checker → · Palette generator →

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