#9A802A#9A802A

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

Color values

HEX#9A802A
RGBrgb(154, 128, 42)
HSLhsl(46, 57%, 38%)
HSVhsv(46, 73%, 60%)
CMYKcmyk(0%, 16.9%, 72.7%, 39.6%)
CIE-LABlab(54.53, 0.48, 48.13)
CIE-LCHlch(54.53, 48.13, 89.43°)
OKLaboklab(60.83% -0.0032 0.1072)
OKLCHoklch(60.83% 0.107 91.7)
XYZxyz(21.4647, 22.4768, 5.3979)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A802A #2A449A
analogous
#9A482A #9A802A #7C9A2A
triadic
#9A802A #2A9A80 #802A9A
tetradic
#9A802A #2A9A48 #2A449A #9A2A7C
square
#9A802A #2A9A48 #2A449A #9A2A7C
split-complementary
#9A802A #2A7C9A #482A9A
monochromatic
#3A3010 #6A581D #9A802A #C9A738 #D6BD68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A802A#FFFFFF#000000##000000
##9A802A1.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)
#8E7E1E
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#A7756F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9a802a;
/* rgb */ color: rgb(154, 128, 42);
/* oklch */ color: oklch(60.8% 0.107 91.7);
Tailwind
colors: {
  custom: {
    50: '#bba469',
    500: '#9a802a',
    950: '#000000',
  },
}
SCSS
$custom: #9a802a;
$custom-light: #bba469;
$custom-dark: #000000;
JSON
{
  "hex": "#9a802a",
  "rgb": {
    "r": 154,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 46.071,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.1072,
    "h": 91.7
  },
  "luminance": 0.22476
}

Semantic roles & 50–950 ramp

primary
#9A802A
secondary
#6378BC
accent
#6BE047
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9A802A

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

Preview Lab → · Contrast checker → · Palette generator →

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