#98802F#98802F

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

Color values

HEX#98802F
RGBrgb(152, 128, 47)
HSLhsl(46, 53%, 39%)
HSVhsv(46, 69%, 60%)
CMYKcmyk(0%, 15.8%, 69.1%, 40.4%)
CIE-LABlab(54.37, -0.15, 45.72)
CIE-LCHlch(54.37, 45.72, 90.19°)
OKLaboklab(60.66% -0.0043 0.103)
OKLCHoklch(60.66% 0.103 92.4)
XYZxyz(21.1822, 22.3202, 5.8813)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98802F #2F4798
analogous
#984C2F #98802F #7C982F
triadic
#98802F #2F9880 #802F98
tetradic
#98802F #2F984C #2F4798 #982F7C
square
#98802F #2F984C #2F4798 #982F7C
split-complementary
#98802F #2F7C98 #4C2F98
monochromatic
#3B3112 #695921 #98802F #C4A640 #D2BC6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98802F#FFFFFF#000000##000000
##98802F1.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)
#8E7E25
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#A4766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #98802f;
/* rgb */ color: rgb(152, 128, 47);
/* oklch */ color: oklch(60.7% 0.103 92.4);
Tailwind
colors: {
  custom: {
    50: '#baa46c',
    500: '#98802f',
    950: '#000000',
  },
}
SCSS
$custom: #98802f;
$custom-light: #baa46c;
$custom-dark: #000000;
JSON
{
  "hex": "#98802f",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 46.286,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60661,
    "c": 0.10313,
    "h": 92.4
  },
  "luminance": 0.22319
}

Semantic roles & 50–950 ramp

primary
#98802F
secondary
#697BBA
accent
#6DDC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #98802F

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

Preview Lab → · Contrast checker → · Palette generator →

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