#99802B#99802B

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

Color values

HEX#99802B
RGBrgb(153, 128, 43)
HSLhsl(46, 56%, 38%)
HSVhsv(46, 72%, 60%)
CMYKcmyk(0%, 16.3%, 71.9%, 40%)
CIE-LABlab(54.43, 0.07, 47.58)
CIE-LCHlch(54.43, 47.58, 89.91°)
OKLaboklab(60.73% -0.0042 0.1062)
OKLCHoklch(60.73% 0.106 92.3)
XYZxyz(21.2932, 22.3863, 5.4845)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99802B #2B4499
analogous
#99492B #99802B #7B992B
triadic
#99802B #2B9980 #802B99
tetradic
#99802B #2B9949 #2B4499 #992B7B
square
#99802B #2B9949 #2B4499 #992B7B
split-complementary
#99802B #2B7B99 #492B99
monochromatic
#393010 #69581E #99802B #C8A73A #D5BD69

Accessibility & contrast

On white

3.83
#99802B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##99802B#FFFFFF#000000##000000
##99802B1.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)
#8E7E1F
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#A6756F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #99802b;
/* rgb */ color: rgb(153, 128, 43);
/* oklch */ color: oklch(60.7% 0.106 92.3);
Tailwind
colors: {
  custom: {
    50: '#baa46a',
    500: '#99802b',
    950: '#000000',
  },
}
SCSS
$custom: #99802b;
$custom-light: #baa46a;
$custom-dark: #000000;
JSON
{
  "hex": "#99802b",
  "rgb": {
    "r": 153,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 46.364,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60729,
    "c": 0.10628,
    "h": 92.3
  },
  "luminance": 0.22385
}

Semantic roles & 50–950 ramp

primary
#99802B
secondary
#6478BC
accent
#6BDF48
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #99802B

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

Preview Lab → · Contrast checker → · Palette generator →

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