#97931B#97931B

#97931B 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#97931B
RGBrgb(151, 147, 27)
HSLhsl(58, 70%, 35%)
HSVhsv(58, 82%, 59%)
CMYKcmyk(0%, 2.6%, 82.1%, 40.8%)
CIE-LABlab(59.46, -11.90, 57.92)
CIE-LCHlch(59.46, 59.13, 101.61°)
OKLaboklab(64.64% -0.0395 0.1252)
OKLCHoklch(64.64% 0.131 107.5)
XYZxyz(23.3950, 27.5267, 5.1175)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97931B #1B1F97
analogous
#97551B #97931B #5D971B
triadic
#97931B #1B9793 #931B97
tetradic
#97931B #1B9755 #1B1F97 #971B5D
square
#97931B #1B9755 #1B1F97 #971B5D
split-complementary
#97931B #1B5D97 #551B97
monochromatic
#2F2E08 #636012 #97931B #CBC624 #DFDA4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97931B#FFFFFF#000000##000000
##97931B1.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)
#A29126
Tritanopia (blue-blind)
#A3897D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #97931b;
/* rgb */ color: rgb(151, 147, 27);
/* oklch */ color: oklch(64.6% 0.131 107.5);
Tailwind
colors: {
  custom: {
    50: '#b9b264',
    500: '#97931b',
    950: '#000000',
  },
}
SCSS
$custom: #97931b;
$custom-light: #b9b264;
$custom-dark: #000000;
JSON
{
  "hex": "#97931b",
  "rgb": {
    "r": 151,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 58.065,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.64643,
    "c": 0.13126,
    "h": 107.5
  },
  "luminance": 0.27526
}

Semantic roles & 50–950 ramp

primary
#97931B
secondary
#4C50C1
accent
#41EC3B
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97931B

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

Preview Lab → · Contrast checker → · Palette generator →

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