#97961B#97961B

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

Color values

HEX#97961B
RGBrgb(151, 150, 27)
HSLhsl(60, 70%, 35%)
HSVhsv(60, 82%, 59%)
CMYKcmyk(0%, 0.7%, 82.1%, 40.8%)
CIE-LABlab(60.31, -13.49, 58.66)
CIE-LCHlch(60.31, 60.19, 102.95°)
OKLaboklab(65.33% -0.0439 0.1268)
OKLCHoklch(65.33% 0.134 109.1)
XYZxyz(23.8676, 28.4719, 5.2751)
Luminance0.2847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97961B #1B1C97
analogous
#97581B #97961B #5A971B
triadic
#97961B #1B9796 #961B97
tetradic
#97961B #1B9758 #1B1C97 #971B5A
square
#97961B #1B9758 #1B1C97 #971B5A
split-complementary
#97961B #1B5A97 #581B97
monochromatic
#2F2F08 #636212 #97961B #CBCA24 #DFDE4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97961B#FFFFFF#000000##000000
##97961B1.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)
#A49327
Tritanopia (blue-blind)
#A28C80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #97961b;
/* rgb */ color: rgb(151, 150, 27);
/* oklch */ color: oklch(65.3% 0.134 109.1);
Tailwind
colors: {
  custom: {
    50: '#b9b465',
    500: '#97961b',
    950: '#000000',
  },
}
SCSS
$custom: #97961b;
$custom-light: #b9b465;
$custom-dark: #000000;
JSON
{
  "hex": "#97961b",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 27
  },
  "hsl": {
    "h": 59.516,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.65325,
    "c": 0.13417,
    "h": 109.1
  },
  "luminance": 0.28471
}

Semantic roles & 50–950 ramp

primary
#97961B
secondary
#4C4DC1
accent
#3DEC3B
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97961B

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

Preview Lab → · Contrast checker → · Palette generator →

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