#9A821E#9A821E

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

Color values

HEX#9A821E
RGBrgb(154, 130, 30)
HSLhsl(48, 67%, 36%)
HSVhsv(48, 81%, 60%)
CMYKcmyk(0%, 15.6%, 80.5%, 39.6%)
CIE-LABlab(55.00, -1.17, 53.17)
CIE-LCHlch(55.00, 53.18, 91.27°)
OKLaboklab(61.17% -0.0092 0.1154)
OKLCHoklch(61.17% 0.116 94.6)
XYZxyz(21.5446, 22.9303, 4.5192)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A821E #1E369A
analogous
#9A441E #9A821E #749A1E
triadic
#9A821E #1E9A82 #821E9A
tetradic
#9A821E #1E9A44 #1E369A #9A1E74
square
#9A821E #1E9A44 #1E369A #9A1E74
split-complementary
#9A821E #1E749A #441E9A
monochromatic
#342C0A #675714 #9A821E #CDAD28 #DEC355

Accessibility & contrast

On white

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

On black

5.59
#9A821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A821E
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A821E#FFFFFF#000000##000000
##9A821E1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a821e;
/* rgb */ color: rgb(154, 130, 30);
/* oklch */ color: oklch(61.2% 0.116 94.6);
Tailwind
colors: {
  custom: {
    50: '#bca563',
    500: '#9a821e',
    950: '#000000',
  },
}
SCSS
$custom: #9a821e;
$custom-light: #bca563;
$custom-dark: #000000;
JSON
{
  "hex": "#9a821e",
  "rgb": {
    "r": 154,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 48.387,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61173,
    "c": 0.11576,
    "h": 94.6
  },
  "luminance": 0.22929
}

Semantic roles & 50–950 ramp

primary
#9A821E
secondary
#5368C1
accent
#5FEA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9A821E

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

Preview Lab → · Contrast checker → · Palette generator →

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