#9A801E#9A801E

#9A801E is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.114 H 93.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9A801E
RGBrgb(154, 128, 30)
HSLhsl(47, 67%, 36%)
HSVhsv(47, 81%, 60%)
CMYKcmyk(0%, 16.9%, 80.5%, 39.6%)
CIE-LABlab(54.45, -0.06, 52.67)
CIE-LCHlch(54.45, 52.67, 90.06°)
OKLaboklab(60.74% -0.0061 0.1143)
OKLCHoklch(60.74% 0.114 93)
XYZxyz(21.2812, 22.4034, 4.4314)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A801E #1E389A
analogous
#9A421E #9A801E #769A1E
triadic
#9A801E #1E9A80 #801E9A
tetradic
#9A801E #1E9A42 #1E389A #9A1E76
square
#9A801E #1E9A42 #1E389A #9A1E76
split-complementary
#9A801E #1E769A #421E9A
monochromatic
#342B0A #675514 #9A801E #CDAB28 #DEC155

Accessibility & contrast

On white

3.83
#9A801E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9A801E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A801E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A801E#FFFFFF#000000##000000
##9A801E1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E07
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#A7756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9a801e;
/* rgb */ color: rgb(154, 128, 30);
/* oklch */ color: oklch(60.7% 0.114 93.0);
Tailwind
colors: {
  custom: {
    50: '#bca463',
    500: '#9a801e',
    950: '#000000',
  },
}
SCSS
$custom: #9a801e;
$custom-light: #bca463;
$custom-dark: #000000;
JSON
{
  "hex": "#9a801e",
  "rgb": {
    "r": 154,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 47.419,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.11449,
    "h": 93
  },
  "luminance": 0.22402
}

Semantic roles & 50–950 ramp

primary
#9A801E
secondary
#536AC1
accent
#62EA3E
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9A801E

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

Preview Lab → · Contrast checker → · Palette generator →

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