#97931F#97931F

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

Color values

HEX#97931F
RGBrgb(151, 147, 31)
HSLhsl(58, 66%, 36%)
HSVhsv(58, 79%, 59%)
CMYKcmyk(0%, 2.6%, 79.5%, 40.8%)
CIE-LABlab(59.48, -11.76, 56.75)
CIE-LCHlch(59.48, 57.96, 101.71°)
OKLaboklab(64.66% -0.0388 0.1234)
OKLCHoklch(64.66% 0.129 107.4)
XYZxyz(23.4445, 27.5465, 5.3781)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97931F #1F2397
analogous
#97571F #97931F #5F971F
triadic
#97931F #1F9793 #931F97
tetradic
#97931F #1F9757 #1F2397 #971F5F
square
#97931F #1F9757 #1F2397 #971F5F
split-complementary
#97931F #1F5F97 #571F97
monochromatic
#31300A #646215 #97931F #CAC429 #DCD754

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97931F#FFFFFF#000000##000000
##97931F1.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)
#A29129
Tritanopia (blue-blind)
#A2897E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #97931f;
/* rgb */ color: rgb(151, 147, 31);
/* oklch */ color: oklch(64.7% 0.129 107.4);
Tailwind
colors: {
  custom: {
    50: '#b9b266',
    500: '#97931f',
    950: '#000000',
  },
}
SCSS
$custom: #97931f;
$custom-light: #b9b266;
$custom-dark: #000000;
JSON
{
  "hex": "#97931f",
  "rgb": {
    "r": 151,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 58,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64663,
    "c": 0.12937,
    "h": 107.4
  },
  "luminance": 0.27546
}

Semantic roles & 50–950 ramp

primary
#97931F
secondary
#5256BF
accent
#45E93F
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97931F

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

Preview Lab → · Contrast checker → · Palette generator →

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