#999D1F#999D1F

#999D1F is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.1% C 0.139 H 111.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#999D1F
RGBrgb(153, 157, 31)
HSLhsl(62, 67%, 37%)
HSVhsv(62, 80%, 62%)
CMYKcmyk(2.5%, 0%, 80.3%, 38.4%)
CIE-LABlab(62.50, -16.11, 59.50)
CIE-LCHlch(62.50, 61.64, 105.15°)
OKLaboklab(67.12% -0.051 0.1292)
OKLCHoklch(67.12% 0.139 111.5)
XYZxyz(25.4421, 30.9859, 5.9367)
Luminance0.3099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999D1F #231F9D
analogous
#9D621F #999D1F #5A9D1F
triadic
#999D1F #1F999D #9D1F99
tetradic
#999D1F #1F9D62 #231F9D #9D1F5A
square
#999D1F #1F9D62 #231F9D #9D1F5A
split-complementary
#999D1F #1F5A9D #621F9D
monochromatic
#35370B #676A15 #999D1F #CBD029 #DADE58

Accessibility & contrast

On white

2.92
#999D1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#999D1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999D1F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999D1F#FFFFFF#000000##000000
##999D1F1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AA992B
Tritanopia (blue-blind)
#A49386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #999d1f;
/* rgb */ color: rgb(153, 157, 31);
/* oklch */ color: oklch(67.1% 0.139 111.5);
Tailwind
colors: {
  custom: {
    50: '#bbb967',
    500: '#999d1f',
    950: '#000000',
  },
}
SCSS
$custom: #999d1f;
$custom-light: #bbb967;
$custom-dark: #000000;
JSON
{
  "hex": "#999d1f",
  "rgb": {
    "r": 153,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 61.905,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67117,
    "c": 0.13892,
    "h": 111.5
  },
  "luminance": 0.30985
}

Semantic roles & 50–950 ramp

primary
#999D1F
secondary
#5956C2
accent
#3EEA43
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #999D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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