#97951B#97951B

#97951B 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#97951B
RGBrgb(151, 149, 27)
HSLhsl(59, 70%, 35%)
HSVhsv(59, 82%, 59%)
CMYKcmyk(0%, 1.3%, 82.1%, 40.8%)
CIE-LABlab(60.03, -12.96, 58.42)
CIE-LCHlch(60.03, 59.84, 102.51°)
OKLaboklab(65.1% -0.0424 0.1262)
OKLCHoklch(65.1% 0.133 108.6)
XYZxyz(23.7087, 28.1541, 5.2221)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97951B #1B1D97
analogous
#97571B #97951B #5B971B
triadic
#97951B #1B9795 #951B97
tetradic
#97951B #1B9757 #1B1D97 #971B5B
square
#97951B #1B9757 #1B1D97 #971B5B
split-complementary
#97951B #1B5B97 #571B97
monochromatic
#2F2F08 #636212 #97951B #CBC824 #DFDD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97951B#FFFFFF#000000##000000
##97951B1.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: #97951b;
/* rgb */ color: rgb(151, 149, 27);
/* oklch */ color: oklch(65.1% 0.133 108.6);
Tailwind
colors: {
  custom: {
    50: '#b9b364',
    500: '#97951b',
    950: '#000000',
  },
}
SCSS
$custom: #97951b;
$custom-light: #b9b364;
$custom-dark: #000000;
JSON
{
  "hex": "#97951b",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 59.032,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.65097,
    "c": 0.13318,
    "h": 108.6
  },
  "luminance": 0.28153
}

Semantic roles & 50–950 ramp

primary
#97951B
secondary
#4C4EC1
accent
#3EEC3B
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97951B

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

Preview Lab → · Contrast checker → · Palette generator →

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