#9B801E#9B801E

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

Color values

HEX#9B801E
RGBrgb(155, 128, 30)
HSLhsl(47, 68%, 36%)
HSVhsv(47, 81%, 61%)
CMYKcmyk(0%, 17.4%, 80.6%, 39.2%)
CIE-LABlab(54.56, 0.40, 52.81)
CIE-LCHlch(54.56, 52.81, 89.56°)
OKLaboklab(60.85% -0.0048 0.1146)
OKLCHoklch(60.85% 0.115 92.4)
XYZxyz(21.4723, 22.5020, 4.4404)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B801E #1E399B
analogous
#9B421E #9B801E #789B1E
triadic
#9B801E #1E9B80 #801E9B
tetradic
#9B801E #1E9B42 #1E399B #9B1E78
square
#9B801E #1E9B42 #1E399B #9B1E78
split-complementary
#9B801E #1E789B #421E9B
monochromatic
#342B0A #685614 #9B801E #CEAA28 #DEC155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B801E#FFFFFF#000000##000000
##9B801E1.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)
#8F7E07
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#A8756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9b801e;
/* rgb */ color: rgb(155, 128, 30);
/* oklch */ color: oklch(60.8% 0.115 92.4);
Tailwind
colors: {
  custom: {
    50: '#bda463',
    500: '#9b801e',
    950: '#000000',
  },
}
SCSS
$custom: #9b801e;
$custom-light: #bda463;
$custom-dark: #000000;
JSON
{
  "hex": "#9b801e",
  "rgb": {
    "r": 155,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 47.04,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.11466,
    "h": 92.4
  },
  "luminance": 0.22501
}

Semantic roles & 50–950 ramp

primary
#9B801E
secondary
#536BC2
accent
#63EA3D
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B801E

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

Preview Lab → · Contrast checker → · Palette generator →

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