#9B951E#9B951E

#9B951E is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.5% C 0.131 H 106.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9B951E
RGBrgb(155, 149, 30)
HSLhsl(57, 68%, 36%)
HSVhsv(57, 81%, 61%)
CMYKcmyk(0%, 3.9%, 80.6%, 39.2%)
CIE-LABlab(60.39, -11.05, 58.00)
CIE-LCHlch(60.39, 59.04, 100.79°)
OKLaboklab(65.48% -0.0371 0.1257)
OKLCHoklch(65.48% 0.131 106.4)
XYZxyz(24.5004, 28.5581, 5.4497)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B951E #1E249B
analogous
#9B571E #9B951E #639B1E
triadic
#9B951E #1E9B95 #951E9B
tetradic
#9B951E #1E9B57 #1E249B #9B1E63
square
#9B951E #1E9B57 #1E249B #9B1E63
split-complementary
#9B951E #1E639B #571E9B
monochromatic
#34320A #686414 #9B951E #CEC628 #DED855

Accessibility & contrast

On white

3.13
#9B951E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#9B951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B951E
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B951E#FFFFFF#000000##000000
##9B951E1.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)
#A28F00
Deuteranopia (green-blind)
#A59428
Tritanopia (blue-blind)
#A78A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b951e;
/* rgb */ color: rgb(155, 149, 30);
/* oklch */ color: oklch(65.5% 0.131 106.4);
Tailwind
colors: {
  custom: {
    50: '#bcb366',
    500: '#9b951e',
    950: '#000000',
  },
}
SCSS
$custom: #9b951e;
$custom-light: #bcb366;
$custom-dark: #000000;
JSON
{
  "hex": "#9b951e",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 57.12,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65475,
    "c": 0.13109,
    "h": 106.4
  },
  "luminance": 0.28557
}

Semantic roles & 50–950 ramp

primary
#9B951E
secondary
#5359C2
accent
#46EA3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9B951E

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

Preview Lab → · Contrast checker → · Palette generator →

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