#9C951F#9C951F

#9C951F is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.130 H 105.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9C951F
RGBrgb(156, 149, 31)
HSLhsl(57, 67%, 37%)
HSVhsv(57, 80%, 61%)
CMYKcmyk(0%, 4.5%, 80.1%, 38.8%)
CIE-LABlab(60.48, -10.57, 57.81)
CIE-LCHlch(60.48, 58.77, 100.36°)
OKLaboklab(65.57% -0.0357 0.1255)
OKLCHoklch(65.57% 0.13 105.9)
XYZxyz(24.7061, 28.6627, 5.5271)
Luminance0.2866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C951F #1F269C
analogous
#9C571F #9C951F #659C1F
triadic
#9C951F #1F9C95 #951F9C
tetradic
#9C951F #1F9C57 #1F269C #9C1F65
square
#9C951F #1F9C57 #1F269C #9C1F65
split-complementary
#9C951F #1F659C #571F9C
monochromatic
#36330B #696415 #9C951F #CFC629 #DED658

Accessibility & contrast

On white

3.12
#9C951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#9C951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C951F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C951F#FFFFFF#000000##000000
##9C951F1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A59429
Tritanopia (blue-blind)
#A88A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9c951f;
/* rgb */ color: rgb(156, 149, 31);
/* oklch */ color: oklch(65.6% 0.130 105.9);
Tailwind
colors: {
  custom: {
    50: '#bdb366',
    500: '#9c951f',
    950: '#000000',
  },
}
SCSS
$custom: #9c951f;
$custom-light: #bdb366;
$custom-dark: #000000;
JSON
{
  "hex": "#9c951f",
  "rgb": {
    "r": 156,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 56.64,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65572,
    "c": 0.13046,
    "h": 105.9
  },
  "luminance": 0.28662
}

Semantic roles & 50–950 ramp

primary
#9C951F
secondary
#555BC1
accent
#48EA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9C951F

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

Preview Lab → · Contrast checker → · Palette generator →

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