#9B801F#9B801F

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

Color values

HEX#9B801F
RGBrgb(155, 128, 31)
HSLhsl(47, 67%, 36%)
HSVhsv(47, 80%, 61%)
CMYKcmyk(0%, 17.4%, 80%, 39.2%)
CIE-LABlab(54.56, 0.44, 52.46)
CIE-LCHlch(54.56, 52.47, 89.52°)
OKLaboklab(60.85% -0.0046 0.114)
OKLCHoklch(60.85% 0.114 92.3)
XYZxyz(21.4853, 22.5072, 4.5087)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B801F #1F3A9B
analogous
#9B421F #9B801F #789B1F
triadic
#9B801F #1F9B80 #801F9B
tetradic
#9B801F #1F9B42 #1F3A9B #9B1F78
square
#9B801F #1F9B42 #1F3A9B #9B1F78
split-complementary
#9B801F #1F789B #421F9B
monochromatic
#352C0B #685615 #9B801F #CEAA29 #DDC057

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B801F#FFFFFF#000000##000000
##9B801F1.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)
#8F7E09
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#A8756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9b801f;
/* rgb */ color: rgb(155, 128, 31);
/* oklch */ color: oklch(60.9% 0.114 92.3);
Tailwind
colors: {
  custom: {
    50: '#bda463',
    500: '#9b801f',
    950: '#000000',
  },
}
SCSS
$custom: #9b801f;
$custom-light: #bda463;
$custom-dark: #000000;
JSON
{
  "hex": "#9b801f",
  "rgb": {
    "r": 155,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 46.935,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60852,
    "c": 0.11413,
    "h": 92.3
  },
  "luminance": 0.22506
}

Semantic roles & 50–950 ramp

primary
#9B801F
secondary
#556CC1
accent
#64EA3E
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B801F

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

Preview Lab → · Contrast checker → · Palette generator →

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