#98971D#98971D

#98971D is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.7% C 0.134 H 109.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#98971D
RGBrgb(152, 151, 29)
HSLhsl(60, 68%, 35%)
HSVhsv(60, 81%, 60%)
CMYKcmyk(0%, 0.7%, 80.9%, 40.4%)
CIE-LABlab(60.69, -13.50, 58.46)
CIE-LCHlch(60.69, 60.00, 103.00°)
OKLaboklab(65.65% -0.0438 0.1267)
OKLCHoklch(65.65% 0.134 109.1)
XYZxyz(24.2382, 28.8981, 5.4633)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98971D #1D1E98
analogous
#98591D #98971D #5B981D
triadic
#98971D #1D9897 #971D98
tetradic
#98971D #1D9859 #1D1E98 #981D5B
square
#98971D #1D9859 #1D1E98 #981D5B
split-complementary
#98971D #1D5B98 #591D98
monochromatic
#313109 #656413 #98971D #CBCA27 #DEDD52

Accessibility & contrast

On white

3.10
#98971D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#98971D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98971D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98971D#FFFFFF#000000##000000
##98971D1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A69428
Tritanopia (blue-blind)
#A38D81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #98971d;
/* rgb */ color: rgb(152, 151, 29);
/* oklch */ color: oklch(65.7% 0.134 109.1);
Tailwind
colors: {
  custom: {
    50: '#bab565',
    500: '#98971d',
    950: '#000000',
  },
}
SCSS
$custom: #98971d;
$custom-light: #bab565;
$custom-dark: #000000;
JSON
{
  "hex": "#98971d",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 59.512,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65651,
    "c": 0.13404,
    "h": 109.1
  },
  "luminance": 0.28897
}

Semantic roles & 50–950 ramp

primary
#98971D
secondary
#5051C1
accent
#3EEB3D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #98971D

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

Preview Lab → · Contrast checker → · Palette generator →

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