#98971E#98971E

#98971E 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#98971E
RGBrgb(152, 151, 30)
HSLhsl(60, 67%, 36%)
HSVhsv(60, 80%, 60%)
CMYKcmyk(0%, 0.7%, 80.3%, 40.4%)
CIE-LABlab(60.70, -13.46, 58.17)
CIE-LCHlch(60.70, 59.71, 103.03°)
OKLaboklab(65.66% -0.0436 0.1262)
OKLCHoklch(65.66% 0.134 109.1)
XYZxyz(24.2508, 28.9031, 5.5295)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98971E #1E1F98
analogous
#985A1E #98971E #5C981E
triadic
#98971E #1E9897 #971E98
tetradic
#98971E #1E985A #1E1F98 #981E5C
square
#98971E #1E985A #1E1F98 #981E5C
split-complementary
#98971E #1E5C98 #5A1E98
monochromatic
#32310A #656414 #98971E #CBCA28 #DDDC53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98971E#FFFFFF#000000##000000
##98971E1.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)
#A59429
Tritanopia (blue-blind)
#A38D81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #98971e;
/* rgb */ color: rgb(152, 151, 30);
/* oklch */ color: oklch(65.7% 0.134 109.1);
Tailwind
colors: {
  custom: {
    50: '#bab566',
    500: '#98971e',
    950: '#000000',
  },
}
SCSS
$custom: #98971e;
$custom-light: #bab566;
$custom-dark: #000000;
JSON
{
  "hex": "#98971e",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 59.508,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.65656,
    "c": 0.13356,
    "h": 109.1
  },
  "luminance": 0.28902
}

Semantic roles & 50–950 ramp

primary
#98971E
secondary
#5152C0
accent
#3FEA3E
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #98971E

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

Preview Lab → · Contrast checker → · Palette generator →

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