#97941F#97941F

#97941F is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.9% C 0.130 H 108.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#97941F
RGBrgb(151, 148, 31)
HSLhsl(59, 66%, 36%)
HSVhsv(59, 79%, 59%)
CMYKcmyk(0%, 2%, 79.5%, 40.8%)
CIE-LABlab(59.76, -12.29, 57.00)
CIE-LCHlch(59.76, 58.31, 102.17°)
OKLaboklab(64.89% -0.0403 0.124)
OKLCHoklch(64.89% 0.13 108)
XYZxyz(23.6007, 27.8589, 5.4302)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97941F #1F2297
analogous
#97581F #97941F #5E971F
triadic
#97941F #1F9794 #941F97
tetradic
#97941F #1F9758 #1F2297 #971F5E
square
#97941F #1F9758 #1F2297 #971F5E
split-complementary
#97941F #1F5E97 #581F97
monochromatic
#31300A #646215 #97941F #CAC629 #DCD954

Accessibility & contrast

On white

3.20
#97941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#97941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97941F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97941F#FFFFFF#000000##000000
##97941F1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#A28A7E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #97941f;
/* rgb */ color: rgb(151, 148, 31);
/* oklch */ color: oklch(64.9% 0.130 108.0);
Tailwind
colors: {
  custom: {
    50: '#b9b366',
    500: '#97941f',
    950: '#000000',
  },
}
SCSS
$custom: #97941f;
$custom-light: #b9b366;
$custom-dark: #000000;
JSON
{
  "hex": "#97941f",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 58.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6489,
    "c": 0.13034,
    "h": 108
  },
  "luminance": 0.27858
}

Semantic roles & 50–950 ramp

primary
#97941F
secondary
#5255BF
accent
#43E93F
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121106
muted
#81807A

Preview Lab

Preview with #97941F

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

Preview Lab → · Contrast checker → · Palette generator →

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