#98981E#98981E

#98981E is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.9% C 0.135 H 109.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#98981E
RGBrgb(152, 152, 30)
HSLhsl(60, 67%, 36%)
HSVhsv(60, 80%, 60%)
CMYKcmyk(0%, 0%, 80.3%, 40.4%)
CIE-LABlab(60.98, -13.98, 58.42)
CIE-LCHlch(60.98, 60.07, 103.46°)
OKLaboklab(65.88% -0.0451 0.1268)
OKLCHoklch(65.88% 0.135 109.6)
XYZxyz(24.4124, 29.2264, 5.5833)
Luminance0.2923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98981E #1E1E98
analogous
#985B1E #98981E #5B981E
triadic
#98981E #1E9898 #981E98
tetradic
#98981E #1E985B #1E1E98 #981E5B
square
#98981E #1E985B #1E1E98 #981E5B
split-complementary
#98981E #1E5B98 #5B1E98
monochromatic
#32320A #656514 #98981E #CBCB28 #DDDD53

Accessibility & contrast

On white

3.07
#98981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#98981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98981E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98981E#FFFFFF#000000##000000
##98981E1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A69529
Tritanopia (blue-blind)
#A38E82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #98981e;
/* rgb */ color: rgb(152, 152, 30);
/* oklch */ color: oklch(65.9% 0.135 109.6);
Tailwind
colors: {
  custom: {
    50: '#bab666',
    500: '#98981e',
    950: '#000000',
  },
}
SCSS
$custom: #98981e;
$custom-light: #bab666;
$custom-dark: #000000;
JSON
{
  "hex": "#98981e",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.65884,
    "c": 0.13456,
    "h": 109.6
  },
  "luminance": 0.29226
}

Semantic roles & 50–950 ramp

primary
#98981E
secondary
#5151C0
accent
#3EEA3E
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #98981E

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

Preview Lab → · Contrast checker → · Palette generator →

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