#98972D#98972D

#98972D is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.8% C 0.125 H 108.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#98972D
RGBrgb(152, 151, 45)
HSLhsl(59, 54%, 39%)
HSVhsv(59, 70%, 60%)
CMYKcmyk(0%, 0.7%, 70.4%, 40.4%)
CIE-LABlab(60.78, -12.79, 53.07)
CIE-LCHlch(60.78, 54.59, 103.54°)
OKLaboklab(65.75% -0.0404 0.1182)
OKLCHoklch(65.75% 0.125 108.9)
XYZxyz(24.4900, 28.9988, 6.7894)
Luminance0.2900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98972D #2D2E98
analogous
#98612D #98972D #63982D
triadic
#98972D #2D9897 #972D98
tetradic
#98972D #2D9861 #2D2E98 #982D63
square
#98972D #2D9861 #2D2E98 #982D63
split-complementary
#98972D #2D6398 #612D98
monochromatic
#3A3911 #69681F #98972D #C5C43D #D3D26C

Accessibility & contrast

On white

3.09
#98972D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#98972D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98972D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98972D#FFFFFF#000000##000000
##98972D1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911C
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#A38D82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #98972d;
/* rgb */ color: rgb(152, 151, 45);
/* oklch */ color: oklch(65.8% 0.125 108.9);
Tailwind
colors: {
  custom: {
    50: '#b9b56d',
    500: '#98972d',
    950: '#000000',
  },
}
SCSS
$custom: #98972d;
$custom-light: #b9b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#98972d",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 59.439,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65751,
    "c": 0.12493,
    "h": 108.9
  },
  "luminance": 0.28998
}

Semantic roles & 50–950 ramp

primary
#98972D
secondary
#6667BA
accent
#4CDE4A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98972D

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

Preview Lab → · Contrast checker → · Palette generator →

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