#9C941F#9C941F

#9C941F is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.3% C 0.130 H 105.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9C941F
RGBrgb(156, 148, 31)
HSLhsl(56, 67%, 37%)
HSVhsv(56, 80%, 61%)
CMYKcmyk(0%, 5.1%, 80.1%, 38.8%)
CIE-LABlab(60.20, -10.04, 57.56)
CIE-LCHlch(60.20, 58.43, 99.89°)
OKLaboklab(65.35% -0.0342 0.1249)
OKLCHoklch(65.35% 0.13 105.3)
XYZxyz(24.5486, 28.3476, 5.4746)
Luminance0.2835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C941F #1F279C
analogous
#9C561F #9C941F #669C1F
triadic
#9C941F #1F9C94 #941F9C
tetradic
#9C941F #1F9C56 #1F279C #9C1F66
square
#9C941F #1F9C56 #1F279C #9C1F66
split-complementary
#9C941F #1F669C #561F9C
monochromatic
#36330B #696415 #9C941F #CFC429 #DED558

Accessibility & contrast

On white

3.15
#9C941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#9C941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C941F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C941F#FFFFFF#000000##000000
##9C941F1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#A59329
Tritanopia (blue-blind)
#A8897F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9c941f;
/* rgb */ color: rgb(156, 148, 31);
/* oklch */ color: oklch(65.3% 0.130 105.3);
Tailwind
colors: {
  custom: {
    50: '#bdb366',
    500: '#9c941f',
    950: '#000000',
  },
}
SCSS
$custom: #9c941f;
$custom-light: #bdb366;
$custom-dark: #000000;
JSON
{
  "hex": "#9c941f",
  "rgb": {
    "r": 156,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 56.16,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65348,
    "c": 0.12954,
    "h": 105.3
  },
  "luminance": 0.28347
}

Semantic roles & 50–950 ramp

primary
#9C941F
secondary
#555CC1
accent
#49EA3E
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C941F

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

Preview Lab → · Contrast checker → · Palette generator →

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