#98972F#98972F

#98972F 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#98972F
RGBrgb(152, 151, 47)
HSLhsl(59, 53%, 39%)
HSVhsv(59, 69%, 60%)
CMYKcmyk(0%, 0.7%, 69.1%, 40.4%)
CIE-LABlab(60.79, -12.67, 52.30)
CIE-LCHlch(60.79, 53.81, 103.62°)
OKLaboklab(65.77% -0.0399 0.1169)
OKLCHoklch(65.77% 0.124 108.8)
XYZxyz(24.5294, 29.0146, 6.9970)
Luminance0.2901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98972F #2F3098
analogous
#98632F #98972F #65982F
triadic
#98972F #2F9897 #972F98
tetradic
#98972F #2F9863 #2F3098 #982F65
square
#98972F #2F9863 #2F3098 #982F65
split-complementary
#98972F #2F6598 #632F98
monochromatic
#3B3A12 #696921 #98972F #C4C340 #D2D26F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98972F#FFFFFF#000000##000000
##98972F1.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)
#A3911F
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#A38D82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #98972f;
/* rgb */ color: rgb(152, 151, 47);
/* oklch */ color: oklch(65.8% 0.124 108.8);
Tailwind
colors: {
  custom: {
    50: '#b9b56e',
    500: '#98972f',
    950: '#000000',
  },
}
SCSS
$custom: #98972f;
$custom-light: #b9b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#98972f",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 59.429,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65766,
    "c": 0.12354,
    "h": 108.8
  },
  "luminance": 0.29014
}

Semantic roles & 50–950 ramp

primary
#98972F
secondary
#696ABA
accent
#4DDC4C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #98972F

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

Preview Lab → · Contrast checker → · Palette generator →

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