#999B31#999B31

#999B31 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.8% C 0.126 H 110.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#999B31
RGBrgb(153, 155, 49)
HSLhsl(61, 52%, 40%)
HSVhsv(61, 68%, 61%)
CMYKcmyk(1.3%, 0%, 68.4%, 39.2%)
CIE-LABlab(62.03, -14.22, 52.76)
CIE-LCHlch(62.03, 54.65, 105.08°)
OKLaboklab(66.78% -0.044 0.1182)
OKLCHoklch(66.78% 0.126 110.4)
XYZxyz(25.4134, 30.4374, 7.4414)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999B31 #33319B
analogous
#9B6831 #999B31 #649B31
triadic
#999B31 #31999B #9B3199
tetradic
#999B31 #319B68 #33319B #9B3164
square
#999B31 #319B68 #33319B #9B3164
split-complementary
#999B31 #31649B #68319B
monochromatic
#3D3E14 #6B6D22 #999B31 #C2C445 #D1D373

Accessibility & contrast

On white

2.96
#999B31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#999B31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999B31
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999B31#FFFFFF#000000##000000
##999B311.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79421
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#A49186
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #999b31;
/* rgb */ color: rgb(153, 155, 49);
/* oklch */ color: oklch(66.8% 0.126 110.4);
Tailwind
colors: {
  custom: {
    50: '#bab870',
    500: '#999b31',
    950: '#000000',
  },
}
SCSS
$custom: #999b31;
$custom-light: #bab870;
$custom-dark: #000000;
JSON
{
  "hex": "#999b31",
  "rgb": {
    "r": 153,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 61.132,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.66778,
    "c": 0.12617,
    "h": 110.4
  },
  "luminance": 0.30437
}

Semantic roles & 50–950 ramp

primary
#999B31
secondary
#6E6DBB
accent
#4CDB4F
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #999B31

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

Preview Lab → · Contrast checker → · Palette generator →

#999B31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva