#97961A#97961A

#97961A is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.3% C 0.135 H 109.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#97961A
RGBrgb(151, 150, 26)
HSLhsl(60, 71%, 35%)
HSVhsv(60, 83%, 59%)
CMYKcmyk(0%, 0.7%, 82.8%, 40.8%)
CIE-LABlab(60.31, -13.52, 58.93)
CIE-LCHlch(60.31, 60.46, 102.92°)
OKLaboklab(65.32% -0.0441 0.1272)
OKLCHoklch(65.32% 0.135 109.1)
XYZxyz(23.8562, 28.4674, 5.2152)
Luminance0.2847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97961A #1A1B97
analogous
#97581A #97961A #5A971A
triadic
#97961A #1A9796 #961A97
tetradic
#97961A #1A9758 #1A1B97 #971A5A
square
#97961A #1A9758 #1A1B97 #971A5A
split-complementary
#97961A #1A5A97 #581A97
monochromatic
#2F2E08 #636211 #97961A #CBCA23 #E0DF4B

Accessibility & contrast

On white

3.14
#97961A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#97961A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97961A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97961A#FFFFFF#000000##000000
##97961A1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A59326
Tritanopia (blue-blind)
#A28C80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #97961a;
/* rgb */ color: rgb(151, 150, 26);
/* oklch */ color: oklch(65.3% 0.135 109.1);
Tailwind
colors: {
  custom: {
    50: '#b9b464',
    500: '#97961a',
    950: '#000000',
  },
}
SCSS
$custom: #97961a;
$custom-light: #b9b464;
$custom-dark: #000000;
JSON
{
  "hex": "#97961a",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 26
  },
  "hsl": {
    "h": 59.52,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.65321,
    "c": 0.13459,
    "h": 109.1
  },
  "luminance": 0.28467
}

Semantic roles & 50–950 ramp

primary
#97961A
secondary
#4B4CC2
accent
#3CED3A
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97961A

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

Preview Lab → · Contrast checker → · Palette generator →

#97961A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva