#97941B#97941B

#97941B is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.9% C 0.132 H 108.1°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#97941B
RGBrgb(151, 148, 27)
HSLhsl(59, 70%, 35%)
HSVhsv(59, 82%, 59%)
CMYKcmyk(0%, 2%, 82.1%, 40.8%)
CIE-LABlab(59.74, -12.43, 58.17)
CIE-LCHlch(59.74, 59.48, 102.06°)
OKLaboklab(64.87% -0.041 0.1257)
OKLCHoklch(64.87% 0.132 108.1)
XYZxyz(23.5512, 27.8391, 5.1696)
Luminance0.2784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97941B #1B1E97
analogous
#97561B #97941B #5C971B
triadic
#97941B #1B9794 #941B97
tetradic
#97941B #1B9756 #1B1E97 #971B5C
square
#97941B #1B9756 #1B1E97 #971B5C
split-complementary
#97941B #1B5C97 #561B97
monochromatic
#2F2E08 #636112 #97941B #CBC724 #DFDC4D

Accessibility & contrast

On white

3.20
#97941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#97941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97941B
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97941B#FFFFFF#000000##000000
##97941B1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A39226
Tritanopia (blue-blind)
#A38A7E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #97941b;
/* rgb */ color: rgb(151, 148, 27);
/* oklch */ color: oklch(64.9% 0.132 108.1);
Tailwind
colors: {
  custom: {
    50: '#b9b364',
    500: '#97941b',
    950: '#000000',
  },
}
SCSS
$custom: #97941b;
$custom-light: #b9b364;
$custom-dark: #000000;
JSON
{
  "hex": "#97941b",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 58.548,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6487,
    "c": 0.13222,
    "h": 108.1
  },
  "luminance": 0.27838
}

Semantic roles & 50–950 ramp

primary
#97941B
secondary
#4C4FC1
accent
#40EC3B
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121106
muted
#81807A

Preview Lab

Preview with #97941B

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

Preview Lab → · Contrast checker → · Palette generator →

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