#99802A#99802A

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

Color values

HEX#99802A
RGBrgb(153, 128, 42)
HSLhsl(46, 57%, 38%)
HSVhsv(46, 73%, 60%)
CMYKcmyk(0%, 16.3%, 72.5%, 40%)
CIE-LABlab(54.43, 0.02, 47.99)
CIE-LCHlch(54.43, 47.99, 89.97°)
OKLaboklab(60.72% -0.0045 0.1069)
OKLCHoklch(60.72% 0.107 92.4)
XYZxyz(21.2751, 22.3790, 5.3890)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99802A #2A4399
analogous
#99482A #99802A #7A992A
triadic
#99802A #2A9980 #802A99
tetradic
#99802A #2A9948 #2A4399 #992A7A
square
#99802A #2A9948 #2A4399 #992A7A
split-complementary
#99802A #2A7A99 #482A99
monochromatic
#393010 #69581D #99802A #C8A838 #D6BD68

Accessibility & contrast

On white

3.84
#99802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#99802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #99802A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99802A#FFFFFF#000000##000000
##99802A1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1E
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#A6756F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #99802a;
/* rgb */ color: rgb(153, 128, 42);
/* oklch */ color: oklch(60.7% 0.107 92.4);
Tailwind
colors: {
  custom: {
    50: '#bba469',
    500: '#99802a',
    950: '#000000',
  },
}
SCSS
$custom: #99802a;
$custom-light: #bba469;
$custom-dark: #000000;
JSON
{
  "hex": "#99802a",
  "rgb": {
    "r": 153,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 46.486,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60721,
    "c": 0.10699,
    "h": 92.4
  },
  "luminance": 0.22378
}

Semantic roles & 50–950 ramp

primary
#99802A
secondary
#6377BC
accent
#6AE048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #99802A

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

Preview Lab → · Contrast checker → · Palette generator →

#99802A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva