#97951D#97951D

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

Color values

HEX#97951D
RGBrgb(151, 149, 29)
HSLhsl(59, 68%, 35%)
HSVhsv(59, 81%, 59%)
CMYKcmyk(0%, 1.3%, 80.8%, 40.8%)
CIE-LABlab(60.04, -12.89, 57.85)
CIE-LCHlch(60.04, 59.27, 102.56°)
OKLaboklab(65.11% -0.0421 0.1254)
OKLCHoklch(65.11% 0.132 108.6)
XYZxyz(23.7327, 28.1637, 5.3482)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97951D #1D1F97
analogous
#97581D #97951D #5C971D
triadic
#97951D #1D9795 #951D97
tetradic
#97951D #1D9758 #1D1F97 #971D5C
square
#97951D #1D9758 #1D1F97 #971D5C
split-complementary
#97951D #1D5C97 #581D97
monochromatic
#303009 #646213 #97951D #CAC827 #DEDB51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #97951d;
/* rgb */ color: rgb(151, 149, 29);
/* oklch */ color: oklch(65.1% 0.132 108.6);
Tailwind
colors: {
  custom: {
    50: '#b9b365',
    500: '#97951d',
    950: '#000000',
  },
}
SCSS
$custom: #97951d;
$custom-light: #b9b365;
$custom-dark: #000000;
JSON
{
  "hex": "#97951d",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 59.016,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.65107,
    "c": 0.13228,
    "h": 108.6
  },
  "luminance": 0.28163
}

Semantic roles & 50–950 ramp

primary
#97951D
secondary
#4F51C0
accent
#40EB3D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97951D

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

Preview Lab → · Contrast checker → · Palette generator →

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