#98802B#98802B

#98802B is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.6% C 0.106 H 92.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#98802B
RGBrgb(152, 128, 43)
HSLhsl(47, 56%, 38%)
HSVhsv(47, 72%, 60%)
CMYKcmyk(0%, 15.8%, 71.7%, 40.4%)
CIE-LABlab(54.33, -0.38, 47.44)
CIE-LCHlch(54.33, 47.44, 90.46°)
OKLaboklab(60.62% -0.0054 0.106)
OKLCHoklch(60.62% 0.106 92.9)
XYZxyz(21.1052, 22.2894, 5.4757)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98802B #2B4398
analogous
#98492B #98802B #79982B
triadic
#98802B #2B9880 #802B98
tetradic
#98802B #2B9849 #2B4398 #982B79
square
#98802B #2B9849 #2B4398 #982B79
split-complementary
#98802B #2B7998 #492B98
monochromatic
#393010 #68581E #98802B #C7A839 #D5BD69

Accessibility & contrast

On white

3.85
#98802B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#98802B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98802B
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98802B#FFFFFF#000000##000000
##98802B1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98802b;
/* rgb */ color: rgb(152, 128, 43);
/* oklch */ color: oklch(60.6% 0.106 92.9);
Tailwind
colors: {
  custom: {
    50: '#baa46a',
    500: '#98802b',
    950: '#000000',
  },
}
SCSS
$custom: #98802b;
$custom-light: #baa46a;
$custom-dark: #000000;
JSON
{
  "hex": "#98802b",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 46.789,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60625,
    "c": 0.10609,
    "h": 92.9
  },
  "luminance": 0.22288
}

Semantic roles & 50–950 ramp

primary
#98802B
secondary
#6477BB
accent
#6ADF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #98802B

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

Preview Lab → · Contrast checker → · Palette generator →

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