#96981D#96981D

#96981D 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#96981D
RGBrgb(150, 152, 29)
HSLhsl(61, 68%, 35%)
HSVhsv(61, 81%, 60%)
CMYKcmyk(1.3%, 0%, 80.9%, 40.4%)
CIE-LABlab(60.81, -14.91, 58.50)
CIE-LCHlch(60.81, 60.37, 104.30°)
OKLaboklab(65.7% -0.0477 0.1268)
OKLCHoklch(65.7% 0.135 110.6)
XYZxyz(24.0286, 29.0299, 5.4997)
Luminance0.2903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96981D #1F1D98
analogous
#985D1D #96981D #58981D
triadic
#96981D #1D9698 #981D96
tetradic
#96981D #1D985D #1F1D98 #981D58
square
#96981D #1D985D #1F1D98 #981D58
split-complementary
#96981D #1D5898 #5D1D98
monochromatic
#313109 #636513 #96981D #C9CB27 #DCDE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96981D#FFFFFF#000000##000000
##96981D1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96981d;
/* rgb */ color: rgb(150, 152, 29);
/* oklch */ color: oklch(65.7% 0.135 110.6);
Tailwind
colors: {
  custom: {
    50: '#b9b666',
    500: '#96981d',
    950: '#000000',
  },
}
SCSS
$custom: #96981d;
$custom-light: #b9b666;
$custom-dark: #000000;
JSON
{
  "hex": "#96981d",
  "rgb": {
    "r": 150,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 60.976,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65703,
    "c": 0.13549,
    "h": 110.6
  },
  "luminance": 0.29029
}

Semantic roles & 50–950 ramp

primary
#96981D
secondary
#5250C1
accent
#3DEB40
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #96981D

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

Preview Lab → · Contrast checker → · Palette generator →

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