#97951C#97951C

#97951C is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.1% C 0.133 H 108.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#97951C
RGBrgb(151, 149, 28)
HSLhsl(59, 69%, 35%)
HSVhsv(59, 81%, 59%)
CMYKcmyk(0%, 1.3%, 81.5%, 40.8%)
CIE-LABlab(60.03, -12.93, 58.14)
CIE-LCHlch(60.03, 59.56, 102.53°)
OKLaboklab(65.1% -0.0423 0.1258)
OKLCHoklch(65.1% 0.133 108.6)
XYZxyz(23.7205, 28.1588, 5.2841)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97951C #1C1E97
analogous
#97571C #97951C #5C971C
triadic
#97951C #1C9795 #951C97
tetradic
#97951C #1C9757 #1C1E97 #971C5C
square
#97951C #1C9757 #1C1E97 #971C5C
split-complementary
#97951C #1C5C97 #571C97
monochromatic
#302F09 #636212 #97951C #CBC826 #DEDC4F

Accessibility & contrast

On white

3.17
#97951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#97951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97951C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97951C#FFFFFF#000000##000000
##97951C1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A49227
Tritanopia (blue-blind)
#A28B7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #97951c;
/* rgb */ color: rgb(151, 149, 28);
/* oklch */ color: oklch(65.1% 0.133 108.6);
Tailwind
colors: {
  custom: {
    50: '#b9b365',
    500: '#97951c',
    950: '#000000',
  },
}
SCSS
$custom: #97951c;
$custom-light: #b9b365;
$custom-dark: #000000;
JSON
{
  "hex": "#97951c",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 59.024,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65102,
    "c": 0.13274,
    "h": 108.6
  },
  "luminance": 0.28158
}

Semantic roles & 50–950 ramp

primary
#97951C
secondary
#4E50C1
accent
#3FEC3C
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97951C

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

Preview Lab → · Contrast checker → · Palette generator →

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