#999B1F#999B1F

#999B1F is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.7% C 0.137 H 110.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#999B1F
RGBrgb(153, 155, 31)
HSLhsl(61, 67%, 36%)
HSVhsv(61, 80%, 61%)
CMYKcmyk(1.3%, 0%, 80%, 39.2%)
CIE-LABlab(61.92, -15.07, 58.99)
CIE-LCHlch(61.92, 60.89, 104.33°)
OKLaboklab(66.66% -0.0481 0.1281)
OKLCHoklch(66.66% 0.137 110.6)
XYZxyz(25.1065, 30.3146, 5.8248)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999B1F #211F9B
analogous
#9B5F1F #999B1F #5B9B1F
triadic
#999B1F #1F999B #9B1F99
tetradic
#999B1F #1F9B5F #211F9B #9B1F5B
square
#999B1F #1F9B5F #211F9B #9B1F5B
split-complementary
#999B1F #1F5B9B #5F1F9B
monochromatic
#34350B #676815 #999B1F #CBCE29 #DBDD57

Accessibility & contrast

On white

2.97
#999B1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#999B1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999B1F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999B1F#FFFFFF#000000##000000
##999B1F1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#A49184
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #999b1f;
/* rgb */ color: rgb(153, 155, 31);
/* oklch */ color: oklch(66.7% 0.137 110.6);
Tailwind
colors: {
  custom: {
    50: '#bbb867',
    500: '#999b1f',
    950: '#000000',
  },
}
SCSS
$custom: #999b1f;
$custom-light: #bbb867;
$custom-dark: #000000;
JSON
{
  "hex": "#999b1f",
  "rgb": {
    "r": 153,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 60.968,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6666,
    "c": 0.13687,
    "h": 110.6
  },
  "luminance": 0.30314
}

Semantic roles & 50–950 ramp

primary
#999B1F
secondary
#5655C1
accent
#3EEA41
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #999B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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