#97951A#97951A

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

Color values

HEX#97951A
RGBrgb(151, 149, 26)
HSLhsl(59, 71%, 35%)
HSVhsv(59, 83%, 59%)
CMYKcmyk(0%, 1.3%, 82.8%, 40.8%)
CIE-LABlab(60.02, -12.99, 58.69)
CIE-LCHlch(60.02, 60.11, 102.48°)
OKLaboklab(65.09% -0.0426 0.1266)
OKLCHoklch(65.09% 0.134 108.6)
XYZxyz(23.6974, 28.1496, 5.1622)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97951A #1A1C97
analogous
#97571A #97951A #5B971A
triadic
#97951A #1A9795 #951A97
tetradic
#97951A #1A9757 #1A1C97 #971A5B
square
#97951A #1A9757 #1A1C97 #971A5B
split-complementary
#97951A #1A5B97 #571A97
monochromatic
#2F2E08 #636111 #97951A #CBC923 #E0DE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97951A#FFFFFF#000000##000000
##97951A1.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)
#A49226
Tritanopia (blue-blind)
#A28B7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #97951a;
/* rgb */ color: rgb(151, 149, 26);
/* oklch */ color: oklch(65.1% 0.134 108.6);
Tailwind
colors: {
  custom: {
    50: '#b9b364',
    500: '#97951a',
    950: '#000000',
  },
}
SCSS
$custom: #97951a;
$custom-light: #b9b364;
$custom-dark: #000000;
JSON
{
  "hex": "#97951a",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 59.04,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.65093,
    "c": 0.13362,
    "h": 108.6
  },
  "luminance": 0.28149
}

Semantic roles & 50–950 ramp

primary
#97951A
secondary
#4B4DC2
accent
#3DED3A
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97951A

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

Preview Lab → · Contrast checker → · Palette generator →

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