#97931A#97931A

#97931A is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.6% C 0.132 H 107.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#97931A
RGBrgb(151, 147, 26)
HSLhsl(58, 71%, 35%)
HSVhsv(58, 83%, 59%)
CMYKcmyk(0%, 2.6%, 82.8%, 40.8%)
CIE-LABlab(59.45, -11.93, 58.20)
CIE-LCHlch(59.45, 59.41, 101.59°)
OKLaboklab(64.64% -0.0397 0.1256)
OKLCHoklch(64.64% 0.132 107.5)
XYZxyz(23.3837, 27.5222, 5.0576)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97931A #1A1E97
analogous
#97551A #97931A #5D971A
triadic
#97931A #1A9793 #931A97
tetradic
#97931A #1A9755 #1A1E97 #971A5D
square
#97931A #1A9755 #1A1E97 #971A5D
split-complementary
#97931A #1A5D97 #551A97
monochromatic
#2F2D08 #636011 #97931A #CBC623 #E0DB4B

Accessibility & contrast

On white

3.23
#97931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#97931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97931A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97931A#FFFFFF#000000##000000
##97931A1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A29125
Tritanopia (blue-blind)
#A3897D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #97931a;
/* rgb */ color: rgb(151, 147, 26);
/* oklch */ color: oklch(64.6% 0.132 107.5);
Tailwind
colors: {
  custom: {
    50: '#b9b264',
    500: '#97931a',
    950: '#000000',
  },
}
SCSS
$custom: #97931a;
$custom-light: #b9b264;
$custom-dark: #000000;
JSON
{
  "hex": "#97931a",
  "rgb": {
    "r": 151,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 58.08,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64639,
    "c": 0.13171,
    "h": 107.5
  },
  "luminance": 0.27521
}

Semantic roles & 50–950 ramp

primary
#97931A
secondary
#4B4FC2
accent
#40ED3A
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97931A

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

Preview Lab → · Contrast checker → · Palette generator →

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