#98972E#98972E

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

Color values

HEX#98972E
RGBrgb(152, 151, 46)
HSLhsl(59, 54%, 39%)
HSVhsv(59, 70%, 60%)
CMYKcmyk(0%, 0.7%, 69.7%, 40.4%)
CIE-LABlab(60.79, -12.73, 52.69)
CIE-LCHlch(60.79, 54.20, 103.58°)
OKLaboklab(65.76% -0.0401 0.1176)
OKLCHoklch(65.76% 0.124 108.8)
XYZxyz(24.5095, 29.0066, 6.8920)
Luminance0.2901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98972E #2E2F98
analogous
#98622E #98972E #64982E
triadic
#98972E #2E9897 #972E98
tetradic
#98972E #2E9862 #2E2F98 #982E64
square
#98972E #2E9862 #2E2F98 #982E64
split-complementary
#98972E #2E6498 #622E98
monochromatic
#3A3A12 #696820 #98972E #C5C33E #D3D26D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98972E#FFFFFF#000000##000000
##98972E1.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)
#A3911E
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#A38D82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #98972e;
/* rgb */ color: rgb(152, 151, 46);
/* oklch */ color: oklch(65.8% 0.124 108.8);
Tailwind
colors: {
  custom: {
    50: '#b9b56e',
    500: '#98972e',
    950: '#000000',
  },
}
SCSS
$custom: #98972e;
$custom-light: #b9b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#98972e",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 59.434,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65758,
    "c": 0.12424,
    "h": 108.8
  },
  "luminance": 0.29006
}

Semantic roles & 50–950 ramp

primary
#98972E
secondary
#6868BA
accent
#4CDD4B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98972E

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

Preview Lab → · Contrast checker → · Palette generator →

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