#98972B#98972B

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

Color values

HEX#98972B
RGBrgb(152, 151, 43)
HSLhsl(59, 56%, 38%)
HSVhsv(59, 72%, 60%)
CMYKcmyk(0%, 0.7%, 71.7%, 40.4%)
CIE-LABlab(60.77, -12.89, 53.83)
CIE-LCHlch(60.77, 55.35, 103.47°)
OKLaboklab(65.74% -0.0409 0.1195)
OKLCHoklch(65.74% 0.126 108.9)
XYZxyz(24.4524, 28.9838, 6.5914)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98972B #2B2C98
analogous
#98612B #98972B #62982B
triadic
#98972B #2B9897 #972B98
tetradic
#98972B #2B9861 #2B2C98 #982B62
square
#98972B #2B9861 #2B2C98 #982B62
split-complementary
#98972B #2B6298 #612B98
monochromatic
#393810 #68681E #98972B #C7C639 #D5D469

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98972B#FFFFFF#000000##000000
##98972B1.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)
#A39118
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#A38D82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #98972b;
/* rgb */ color: rgb(152, 151, 43);
/* oklch */ color: oklch(65.7% 0.126 108.9);
Tailwind
colors: {
  custom: {
    50: '#b9b56c',
    500: '#98972b',
    950: '#000000',
  },
}
SCSS
$custom: #98972b;
$custom-light: #b9b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#98972b",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 59.45,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65736,
    "c": 0.12625,
    "h": 108.9
  },
  "luminance": 0.28983
}

Semantic roles & 50–950 ramp

primary
#98972B
secondary
#6465BB
accent
#4ADF49
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98972B

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

Preview Lab → · Contrast checker → · Palette generator →

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