#999F31#999F31

#999F31 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.7% C 0.131 H 112.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#999F31
RGBrgb(153, 159, 49)
HSLhsl(63, 53%, 41%)
HSVhsv(63, 69%, 62%)
CMYKcmyk(3.8%, 0%, 69.2%, 37.6%)
CIE-LABlab(63.17, -16.30, 53.91)
CIE-LCHlch(63.17, 56.32, 106.82°)
OKLaboklab(67.69% -0.0499 0.1207)
OKLCHoklch(67.69% 0.131 112.5)
XYZxyz(26.0902, 31.7909, 7.6670)
Luminance0.3179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999F31 #37319F
analogous
#9F6E31 #999F31 #629F31
triadic
#999F31 #31999F #9F3199
tetradic
#999F31 #319F6E #37319F #9F3162
square
#999F31 #319F6E #37319F #9F3162
split-complementary
#999F31 #31629F #6E319F
monochromatic
#3F4114 #6C7023 #999F31 #BFC647 #D0D576

Accessibility & contrast

On white

2.85
#999F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#999F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999F31
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999F31#FFFFFF#000000##000000
##999F311.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9820
Deuteranopia (green-blind)
#AB9A39
Tritanopia (blue-blind)
#A39589
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #999f31;
/* rgb */ color: rgb(153, 159, 49);
/* oklch */ color: oklch(67.7% 0.131 112.5);
Tailwind
colors: {
  custom: {
    50: '#babb70',
    500: '#999f31',
    950: '#000000',
  },
}
SCSS
$custom: #999f31;
$custom-light: #babb70;
$custom-dark: #000000;
JSON
{
  "hex": "#999f31",
  "rgb": {
    "r": 153,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 63.273,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67689,
    "c": 0.13055,
    "h": 112.5
  },
  "luminance": 0.3179
}

Semantic roles & 50–950 ramp

primary
#999F31
secondary
#736FBD
accent
#4CDC53
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #999F31

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

Preview Lab → · Contrast checker → · Palette generator →

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