#98802E#98802E

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

Color values

HEX#98802E
RGBrgb(152, 128, 46)
HSLhsl(46, 54%, 39%)
HSVhsv(46, 70%, 60%)
CMYKcmyk(0%, 15.8%, 69.7%, 40.4%)
CIE-LABlab(54.36, -0.21, 46.16)
CIE-LCHlch(54.36, 46.16, 90.27°)
OKLaboklab(60.65% -0.0046 0.1038)
OKLCHoklch(60.65% 0.104 92.5)
XYZxyz(21.1623, 22.3122, 5.7763)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98802E #2E4698
analogous
#984B2E #98802E #7B982E
triadic
#98802E #2E9880 #802E98
tetradic
#98802E #2E984B #2E4698 #982E7B
square
#98802E #2E984B #2E4698 #982E7B
split-complementary
#98802E #2E7B98 #4B2E98
monochromatic
#3A3112 #695820 #98802E #C5A63E #D3BC6D

Accessibility & contrast

On white

3.84
#98802E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##98802E#FFFFFF#000000##000000
##98802E1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E23
Deuteranopia (green-blind)
#948532
Tritanopia (blue-blind)
#A4766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #98802e;
/* rgb */ color: rgb(152, 128, 46);
/* oklch */ color: oklch(60.7% 0.104 92.5);
Tailwind
colors: {
  custom: {
    50: '#baa46b',
    500: '#98802e',
    950: '#000000',
  },
}
SCSS
$custom: #98802e;
$custom-light: #baa46b;
$custom-dark: #000000;
JSON
{
  "hex": "#98802e",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 46.415,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.10389,
    "h": 92.5
  },
  "luminance": 0.22311
}

Semantic roles & 50–950 ramp

primary
#98802E
secondary
#687ABA
accent
#6CDD4B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #98802E

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

Preview Lab → · Contrast checker → · Palette generator →

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