#97941A#97941A

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

Color values

HEX#97941A
RGBrgb(151, 148, 26)
HSLhsl(59, 71%, 35%)
HSVhsv(59, 83%, 59%)
CMYKcmyk(0%, 2%, 82.8%, 40.8%)
CIE-LABlab(59.74, -12.46, 58.44)
CIE-LCHlch(59.74, 59.76, 102.04°)
OKLaboklab(64.87% -0.0411 0.1261)
OKLCHoklch(64.87% 0.133 108.1)
XYZxyz(23.5398, 27.8345, 5.1097)
Luminance0.2783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97941A #1A1D97
analogous
#97561A #97941A #5C971A
triadic
#97941A #1A9794 #941A97
tetradic
#97941A #1A9756 #1A1D97 #971A5C
square
#97941A #1A9756 #1A1D97 #971A5C
split-complementary
#97941A #1A5C97 #561A97
monochromatic
#2F2E08 #636111 #97941A #CBC723 #E0DC4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97941A#FFFFFF#000000##000000
##97941A1.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: #97941a;
/* rgb */ color: rgb(151, 148, 26);
/* oklch */ color: oklch(64.9% 0.133 108.1);
Tailwind
colors: {
  custom: {
    50: '#b9b364',
    500: '#97941a',
    950: '#000000',
  },
}
SCSS
$custom: #97941a;
$custom-light: #b9b364;
$custom-dark: #000000;
JSON
{
  "hex": "#97941a",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 26
  },
  "hsl": {
    "h": 58.56,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64866,
    "c": 0.13265,
    "h": 108.1
  },
  "luminance": 0.27834
}

Semantic roles & 50–950 ramp

primary
#97941A
secondary
#4B4EC2
accent
#3FED3A
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121106
muted
#81807A

Preview Lab

Preview with #97941A

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

Preview Lab → · Contrast checker → · Palette generator →

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