#97931D#97931D

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

Color values

HEX#97931D
RGBrgb(151, 147, 29)
HSLhsl(58, 68%, 35%)
HSVhsv(58, 81%, 59%)
CMYKcmyk(0%, 2.6%, 80.8%, 40.8%)
CIE-LABlab(59.47, -11.83, 57.35)
CIE-LCHlch(59.47, 58.56, 101.66°)
OKLaboklab(64.65% -0.0391 0.1243)
OKLCHoklch(64.65% 0.13 107.5)
XYZxyz(23.4190, 27.5363, 5.2436)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97931D #1D2197
analogous
#97561D #97931D #5E971D
triadic
#97931D #1D9793 #931D97
tetradic
#97931D #1D9756 #1D2197 #971D5E
square
#97931D #1D9756 #1D2197 #971D5E
split-complementary
#97931D #1D5E97 #561D97
monochromatic
#302F09 #646113 #97931D #CAC527 #DED951

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97931D#FFFFFF#000000##000000
##97931D1.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)
#A29128
Tritanopia (blue-blind)
#A3897E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #97931d;
/* rgb */ color: rgb(151, 147, 29);
/* oklch */ color: oklch(64.7% 0.130 107.5);
Tailwind
colors: {
  custom: {
    50: '#b9b265',
    500: '#97931d',
    950: '#000000',
  },
}
SCSS
$custom: #97931d;
$custom-light: #b9b265;
$custom-dark: #000000;
JSON
{
  "hex": "#97931d",
  "rgb": {
    "r": 151,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 58.033,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64653,
    "c": 0.13035,
    "h": 107.5
  },
  "luminance": 0.27535
}

Semantic roles & 50–950 ramp

primary
#97931D
secondary
#4F53C0
accent
#43EB3D
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97931D

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

Preview Lab → · Contrast checker → · Palette generator →

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