#98981D#98981D

#98981D 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.84:1 contrast (WCAG AA passes).

Color values

HEX#98981D
RGBrgb(152, 152, 29)
HSLhsl(60, 68%, 35%)
HSVhsv(60, 81%, 60%)
CMYKcmyk(0%, 0%, 80.9%, 40.4%)
CIE-LABlab(60.98, -14.02, 58.71)
CIE-LCHlch(60.98, 60.36, 103.43°)
OKLaboklab(65.88% -0.0453 0.1272)
OKLCHoklch(65.88% 0.135 109.6)
XYZxyz(24.3998, 29.2213, 5.5171)
Luminance0.2922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98981D #1D1D98
analogous
#985A1D #98981D #5A981D
triadic
#98981D #1D9898 #981D98
tetradic
#98981D #1D985A #1D1D98 #981D5A
square
#98981D #1D985A #1D1D98 #981D5A
split-complementary
#98981D #1D5A98 #5A1D98
monochromatic
#313109 #656513 #98981D #CBCB27 #DEDE52

Accessibility & contrast

On white

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

On black

6.84
#98981D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98981D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98981D#FFFFFF#000000##000000
##98981D1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98981d;
/* rgb */ color: rgb(152, 152, 29);
/* oklch */ color: oklch(65.9% 0.135 109.6);
Tailwind
colors: {
  custom: {
    50: '#bab666',
    500: '#98981d',
    950: '#000000',
  },
}
SCSS
$custom: #98981d;
$custom-light: #bab666;
$custom-dark: #000000;
JSON
{
  "hex": "#98981d",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 60,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65879,
    "c": 0.13502,
    "h": 109.6
  },
  "luminance": 0.29221
}

Semantic roles & 50–950 ramp

primary
#98981D
secondary
#5050C1
accent
#3DEB3D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #98981D

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

Preview Lab → · Contrast checker → · Palette generator →

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