#97962A#97962A

#97962A is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.4% C 0.126 H 108.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#97962A
RGBrgb(151, 150, 42)
HSLhsl(59, 56%, 38%)
HSVhsv(59, 72%, 59%)
CMYKcmyk(0%, 0.7%, 72.2%, 40.8%)
CIE-LABlab(60.39, -12.86, 53.81)
CIE-LCHlch(60.39, 55.33, 103.44°)
OKLaboklab(65.41% -0.0408 0.1193)
OKLCHoklch(65.41% 0.126 108.9)
XYZxyz(24.0876, 28.5599, 6.4338)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97962A #2A2B97
analogous
#97602A #97962A #61972A
triadic
#97962A #2A9796 #962A97
tetradic
#97962A #2A9760 #2A2B97 #972A61
square
#97962A #2A9760 #2A2B97 #972A61
split-complementary
#97962A #2A6197 #602A97
monochromatic
#37370F #67661D #97962A #C7C637 #D5D467

Accessibility & contrast

On white

3.13
#97962A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#97962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97962A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97962A#FFFFFF#000000##000000
##97962A1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29017
Deuteranopia (green-blind)
#A49332
Tritanopia (blue-blind)
#A28C81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #97962a;
/* rgb */ color: rgb(151, 150, 42);
/* oklch */ color: oklch(65.4% 0.126 108.9);
Tailwind
colors: {
  custom: {
    50: '#b9b46b',
    500: '#97962a',
    950: '#000000',
  },
}
SCSS
$custom: #97962a;
$custom-light: #b9b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#97962a",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 59.45,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65413,
    "c": 0.12607,
    "h": 108.9
  },
  "luminance": 0.28559
}

Semantic roles & 50–950 ramp

primary
#97962A
secondary
#6263BB
accent
#49E048
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #97962A

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

Preview Lab → · Contrast checker → · Palette generator →

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