#9A801F#9A801F

#9A801F 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#9A801F
RGBrgb(154, 128, 31)
HSLhsl(47, 66%, 36%)
HSVhsv(47, 80%, 60%)
CMYKcmyk(0%, 16.9%, 79.9%, 39.6%)
CIE-LABlab(54.46, -0.02, 52.33)
CIE-LCHlch(54.46, 52.33, 90.02°)
OKLaboklab(60.75% -0.0059 0.1138)
OKLCHoklch(60.75% 0.114 93)
XYZxyz(21.2941, 22.4086, 4.4998)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A801F #1F399A
analogous
#9A431F #9A801F #779A1F
triadic
#9A801F #1F9A80 #801F9A
tetradic
#9A801F #1F9A43 #1F399A #9A1F77
square
#9A801F #1F9A43 #1F399A #9A1F77
split-complementary
#9A801F #1F779A #431F9A
monochromatic
#342B0A #675615 #9A801F #CDAA29 #DDC156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A801F#FFFFFF#000000##000000
##9A801F1.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)
#8F7E09
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#A7756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9a801f;
/* rgb */ color: rgb(154, 128, 31);
/* oklch */ color: oklch(60.7% 0.114 93.0);
Tailwind
colors: {
  custom: {
    50: '#bca463',
    500: '#9a801f',
    950: '#000000',
  },
}
SCSS
$custom: #9a801f;
$custom-light: #bca463;
$custom-dark: #000000;
JSON
{
  "hex": "#9a801f",
  "rgb": {
    "r": 154,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 47.317,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60746,
    "c": 0.11396,
    "h": 93
  },
  "luminance": 0.22407
}

Semantic roles & 50–950 ramp

primary
#9A801F
secondary
#546BC1
accent
#63E93E
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9A801F

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

Preview Lab → · Contrast checker → · Palette generator →

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