#9B821E#9B821E

#9B821E is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.3% C 0.116 H 94.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9B821E
RGBrgb(155, 130, 30)
HSLhsl(48, 68%, 36%)
HSVhsv(48, 81%, 61%)
CMYKcmyk(0%, 16.1%, 80.6%, 39.2%)
CIE-LABlab(55.10, -0.71, 53.30)
CIE-LCHlch(55.10, 53.30, 90.77°)
OKLaboklab(61.28% -0.008 0.1156)
OKLCHoklch(61.28% 0.116 94)
XYZxyz(21.7358, 23.0289, 4.5282)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B821E #1E379B
analogous
#9B441E #9B821E #769B1E
triadic
#9B821E #1E9B82 #821E9B
tetradic
#9B821E #1E9B44 #1E379B #9B1E76
square
#9B821E #1E9B44 #1E379B #9B1E76
split-complementary
#9B821E #1E769B #441E9B
monochromatic
#342C0A #685714 #9B821E #CEAD28 #DEC355

Accessibility & contrast

On white

3.75
#9B821E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9B821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B821E
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B821E#FFFFFF#000000##000000
##9B821E1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b821e;
/* rgb */ color: rgb(155, 130, 30);
/* oklch */ color: oklch(61.3% 0.116 94.0);
Tailwind
colors: {
  custom: {
    50: '#bda563',
    500: '#9b821e',
    950: '#000000',
  },
}
SCSS
$custom: #9b821e;
$custom-light: #bda563;
$custom-dark: #000000;
JSON
{
  "hex": "#9b821e",
  "rgb": {
    "r": 155,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 48,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61277,
    "c": 0.11589,
    "h": 94
  },
  "luminance": 0.23028
}

Semantic roles & 50–950 ramp

primary
#9B821E
secondary
#5369C2
accent
#60EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B821E

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

Preview Lab → · Contrast checker → · Palette generator →

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