#9C992F#9C992F

#9C992F is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.6% C 0.125 H 107.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9C992F
RGBrgb(156, 153, 47)
HSLhsl(58, 54%, 40%)
HSVhsv(58, 70%, 61%)
CMYKcmyk(0%, 1.9%, 69.9%, 38.8%)
CIE-LABlab(61.70, -11.96, 53.32)
CIE-LCHlch(61.70, 54.64, 102.64°)
OKLaboklab(66.57% -0.0381 0.119)
OKLCHoklch(66.57% 0.125 107.8)
XYZxyz(25.6156, 30.0565, 7.1409)
Luminance0.3006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C992F #2F329C
analogous
#9C632F #9C992F #689C2F
triadic
#9C992F #2F9C99 #992F9C
tetradic
#9C992F #2F9C63 #2F329C #9C2F68
square
#9C992F #2F9C63 #2F329C #9C2F68
split-complementary
#9C992F #2F689C #632F9C
monochromatic
#3E3D13 #6D6B21 #9C992F #C6C242 #D4D271

Accessibility & contrast

On white

3.00
#9C992F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#9C992F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C992F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C992F#FFFFFF#000000##000000
##9C992F1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#A78F84
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9c992f;
/* rgb */ color: rgb(156, 153, 47);
/* oklch */ color: oklch(66.6% 0.125 107.8);
Tailwind
colors: {
  custom: {
    50: '#bcb66e',
    500: '#9c992f',
    950: '#000000',
  },
}
SCSS
$custom: #9c992f;
$custom-light: #bcb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c992f",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 47
  },
  "hsl": {
    "h": 58.349,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66574,
    "c": 0.12491,
    "h": 107.8
  },
  "luminance": 0.30056
}

Semantic roles & 50–950 ramp

primary
#9C992F
secondary
#6B6DBC
accent
#4FDD4B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9C992F

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

Preview Lab → · Contrast checker → · Palette generator →

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