#9B971E#9B971E

#9B971E is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.9% C 0.133 H 107.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9B971E
RGBrgb(155, 151, 30)
HSLhsl(58, 68%, 36%)
HSVhsv(58, 81%, 61%)
CMYKcmyk(0%, 2.6%, 80.6%, 39.2%)
CIE-LABlab(60.95, -12.11, 58.50)
CIE-LCHlch(60.95, 59.74, 101.70°)
OKLaboklab(65.93% -0.0401 0.1268)
OKLCHoklch(65.93% 0.133 107.5)
XYZxyz(24.8195, 29.1964, 5.5561)
Luminance0.2920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B971E #1E229B
analogous
#9B591E #9B971E #619B1E
triadic
#9B971E #1E9B97 #971E9B
tetradic
#9B971E #1E9B59 #1E229B #9B1E61
square
#9B971E #1E9B59 #1E229B #9B1E61
split-complementary
#9B971E #1E619B #591E9B
monochromatic
#34330A #686514 #9B971E #CEC928 #DEDA55

Accessibility & contrast

On white

3.07
#9B971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#9B971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B971E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B971E#FFFFFF#000000##000000
##9B971E1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A69529
Tritanopia (blue-blind)
#A78C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9b971e;
/* rgb */ color: rgb(155, 151, 30);
/* oklch */ color: oklch(65.9% 0.133 107.5);
Tailwind
colors: {
  custom: {
    50: '#bcb566',
    500: '#9b971e',
    950: '#000000',
  },
}
SCSS
$custom: #9b971e;
$custom-light: #bcb566;
$custom-dark: #000000;
JSON
{
  "hex": "#9b971e",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 58.08,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65925,
    "c": 0.13298,
    "h": 107.5
  },
  "luminance": 0.29196
}

Semantic roles & 50–950 ramp

primary
#9B971E
secondary
#5357C2
accent
#43EA3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9B971E

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

Preview Lab → · Contrast checker → · Palette generator →

#9B971E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva