#97941C#97941C

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

Color values

HEX#97941C
RGBrgb(151, 148, 28)
HSLhsl(59, 69%, 35%)
HSVhsv(59, 81%, 59%)
CMYKcmyk(0%, 2%, 81.5%, 40.8%)
CIE-LABlab(59.75, -12.40, 57.89)
CIE-LCHlch(59.75, 59.20, 102.09°)
OKLaboklab(64.88% -0.0408 0.1253)
OKLCHoklch(64.88% 0.132 108)
XYZxyz(23.5630, 27.8438, 5.2316)
Luminance0.2784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97941C #1C1F97
analogous
#97571C #97941C #5C971C
triadic
#97941C #1C9794 #941C97
tetradic
#97941C #1C9757 #1C1F97 #971C5C
square
#97941C #1C9757 #1C1F97 #971C5C
split-complementary
#97941C #1C5C97 #571C97
monochromatic
#302F09 #636112 #97941C #CBC726 #DEDB4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97941C#FFFFFF#000000##000000
##97941C1.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)
#A39227
Tritanopia (blue-blind)
#A28A7E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #97941c;
/* rgb */ color: rgb(151, 148, 28);
/* oklch */ color: oklch(64.9% 0.132 108.0);
Tailwind
colors: {
  custom: {
    50: '#b9b365',
    500: '#97941c',
    950: '#000000',
  },
}
SCSS
$custom: #97941c;
$custom-light: #b9b365;
$custom-dark: #000000;
JSON
{
  "hex": "#97941c",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 58.537,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64875,
    "c": 0.13177,
    "h": 108
  },
  "luminance": 0.27843
}

Semantic roles & 50–950 ramp

primary
#97941C
secondary
#4E51C1
accent
#41EC3C
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121106
muted
#81807A

Preview Lab

Preview with #97941C

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

Preview Lab → · Contrast checker → · Palette generator →

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