#97931C#97931C

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

Color values

HEX#97931C
RGBrgb(151, 147, 28)
HSLhsl(58, 69%, 35%)
HSVhsv(58, 81%, 59%)
CMYKcmyk(0%, 2.6%, 81.5%, 40.8%)
CIE-LABlab(59.46, -11.87, 57.64)
CIE-LCHlch(59.46, 58.85, 101.63°)
OKLaboklab(64.65% -0.0393 0.1248)
OKLCHoklch(64.65% 0.131 107.5)
XYZxyz(23.4068, 27.5314, 5.1795)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97931C #1C2097
analogous
#97561C #97931C #5D971C
triadic
#97931C #1C9793 #931C97
tetradic
#97931C #1C9756 #1C2097 #971C5D
square
#97931C #1C9756 #1C2097 #971C5D
split-complementary
#97931C #1C5D97 #561C97
monochromatic
#302E09 #636112 #97931C #CBC526 #DEDA4F

Accessibility & contrast

On white

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

On black

6.51
#97931C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97931C
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97931C#FFFFFF#000000##000000
##97931C1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97931c;
/* rgb */ color: rgb(151, 147, 28);
/* oklch */ color: oklch(64.6% 0.131 107.5);
Tailwind
colors: {
  custom: {
    50: '#b9b264',
    500: '#97931c',
    950: '#000000',
  },
}
SCSS
$custom: #97931c;
$custom-light: #b9b264;
$custom-dark: #000000;
JSON
{
  "hex": "#97931c",
  "rgb": {
    "r": 151,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 58.049,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64648,
    "c": 0.13081,
    "h": 107.5
  },
  "luminance": 0.27531
}

Semantic roles & 50–950 ramp

primary
#97931C
secondary
#4E52C1
accent
#42EC3C
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97931C

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

Preview Lab → · Contrast checker → · Palette generator →

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