#9B801D#9B801D

#9B801D is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.115 H 92.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9B801D
RGBrgb(155, 128, 29)
HSLhsl(47, 68%, 36%)
HSVhsv(47, 81%, 61%)
CMYKcmyk(0%, 17.4%, 81.3%, 39.2%)
CIE-LABlab(54.55, 0.37, 53.14)
CIE-LCHlch(54.55, 53.14, 89.61°)
OKLaboklab(60.84% -0.005 0.1151)
OKLCHoklch(60.84% 0.115 92.5)
XYZxyz(21.4598, 22.4969, 4.3742)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B801D #1D389B
analogous
#9B411D #9B801D #779B1D
triadic
#9B801D #1D9B80 #801D9B
tetradic
#9B801D #1D9B41 #1D389B #9B1D77
square
#9B801D #1D9B41 #1D389B #9B1D77
split-complementary
#9B801D #1D779B #411D9B
monochromatic
#342B0A #675513 #9B801D #CFAB27 #DFC153

Accessibility & contrast

On white

3.82
#9B801D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9B801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B801D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B801D#FFFFFF#000000##000000
##9B801D1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#A8756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9b801d;
/* rgb */ color: rgb(155, 128, 29);
/* oklch */ color: oklch(60.8% 0.115 92.5);
Tailwind
colors: {
  custom: {
    50: '#bda462',
    500: '#9b801d',
    950: '#000000',
  },
}
SCSS
$custom: #9b801d;
$custom-light: #bda462;
$custom-dark: #000000;
JSON
{
  "hex": "#9b801d",
  "rgb": {
    "r": 155,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 47.143,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.11517,
    "h": 92.5
  },
  "luminance": 0.22496
}

Semantic roles & 50–950 ramp

primary
#9B801D
secondary
#526AC2
accent
#62EB3C
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B801D

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

Preview Lab → · Contrast checker → · Palette generator →

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