#9B992F#9B992F

#9B992F is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.5% C 0.125 H 108.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9B992F
RGBrgb(155, 153, 47)
HSLhsl(59, 53%, 40%)
HSVhsv(59, 70%, 61%)
CMYKcmyk(0%, 1.3%, 69.7%, 39.2%)
CIE-LABlab(61.62, -12.40, 53.20)
CIE-LCHlch(61.62, 54.63, 103.12°)
OKLaboklab(66.49% -0.0393 0.1188)
OKLCHoklch(66.49% 0.125 108.3)
XYZxyz(25.4228, 29.9571, 7.1319)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B992F #2F319B
analogous
#9B632F #9B992F #679B2F
triadic
#9B992F #2F9B99 #992F9B
tetradic
#9B992F #2F9B63 #2F319B #9B2F67
square
#9B992F #2F9B63 #2F319B #9B2F67
split-complementary
#9B992F #2F679B #632F9B
monochromatic
#3D3C13 #6C6B21 #9B992F #C6C342 #D4D271

Accessibility & contrast

On white

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

On black

6.99
#9B992F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B992F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B992F#FFFFFF#000000##000000
##9B992F1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b992f;
/* rgb */ color: rgb(155, 153, 47);
/* oklch */ color: oklch(66.5% 0.125 108.3);
Tailwind
colors: {
  custom: {
    50: '#bcb66e',
    500: '#9b992f',
    950: '#000000',
  },
}
SCSS
$custom: #9b992f;
$custom-light: #bcb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b992f",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 47
  },
  "hsl": {
    "h": 58.889,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66485,
    "c": 0.12507,
    "h": 108.3
  },
  "luminance": 0.29956
}

Semantic roles & 50–950 ramp

primary
#9B992F
secondary
#6A6CBB
accent
#4EDD4B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9B992F

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

Preview Lab → · Contrast checker → · Palette generator →

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