#96981F#96981F

#96981F is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.7% C 0.135 H 110.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#96981F
RGBrgb(150, 152, 31)
HSLhsl(61, 66%, 36%)
HSVhsv(61, 80%, 60%)
CMYKcmyk(1.3%, 0%, 79.6%, 40.4%)
CIE-LABlab(60.82, -14.84, 57.91)
CIE-LCHlch(60.82, 59.79, 104.37°)
OKLaboklab(65.71% -0.0473 0.126)
OKLCHoklch(65.71% 0.135 110.6)
XYZxyz(24.0541, 29.0401, 5.6343)
Luminance0.2904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96981F #211F98
analogous
#985D1F #96981F #59981F
triadic
#96981F #1F9698 #981F96
tetradic
#96981F #1F985D #211F98 #981F59
square
#96981F #1F985D #211F98 #981F59
split-complementary
#96981F #1F5998 #5D1F98
monochromatic
#32320A #646515 #96981F #C8CB29 #DADC55

Accessibility & contrast

On white

3.08
#96981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#96981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96981F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96981F#FFFFFF#000000##000000
##96981F1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A6942A
Tritanopia (blue-blind)
#A18E82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #96981f;
/* rgb */ color: rgb(150, 152, 31);
/* oklch */ color: oklch(65.7% 0.135 110.6);
Tailwind
colors: {
  custom: {
    50: '#b8b666',
    500: '#96981f',
    950: '#000000',
  },
}
SCSS
$custom: #96981f;
$custom-light: #b8b666;
$custom-dark: #000000;
JSON
{
  "hex": "#96981f",
  "rgb": {
    "r": 150,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 60.992,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65713,
    "c": 0.13455,
    "h": 110.6
  },
  "luminance": 0.29039
}

Semantic roles & 50–950 ramp

primary
#96981F
secondary
#5553C0
accent
#3FE942
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #96981F

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

Preview Lab → · Contrast checker → · Palette generator →

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