#9D9933#9D9933

#9D9933 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.122 H 107.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9D9933
RGBrgb(157, 153, 51)
HSLhsl(58, 51%, 41%)
HSVhsv(58, 68%, 62%)
CMYKcmyk(0%, 2.5%, 67.5%, 38.4%)
CIE-LABlab(61.82, -11.29, 51.84)
CIE-LCHlch(61.82, 53.06, 102.28°)
OKLaboklab(66.7% -0.0358 0.1165)
OKLCHoklch(66.7% 0.122 107.1)
XYZxyz(25.8943, 30.1904, 7.5947)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9933 #33379D
analogous
#9D6433 #9D9933 #6C9D33
triadic
#9D9933 #339D99 #99339D
tetradic
#9D9933 #339D64 #33379D #9D336C
square
#9D9933 #339D64 #33379D #9D336C
split-complementary
#9D9933 #336C9D #64339D
monochromatic
#413F15 #6F6C24 #9D9933 #C4BF49 #D3D077

Accessibility & contrast

On white

2.98
#9D9933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#9D9933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9933
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9933#FFFFFF#000000##000000
##9D99331.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69325
Deuteranopia (green-blind)
#A8973A
Tritanopia (blue-blind)
#A88F84
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d9933;
/* rgb */ color: rgb(157, 153, 51);
/* oklch */ color: oklch(66.7% 0.122 107.1);
Tailwind
colors: {
  custom: {
    50: '#bdb671',
    500: '#9d9933',
    950: '#000000',
  },
}
SCSS
$custom: #9d9933;
$custom-light: #bdb671;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9933",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 57.736,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66696,
    "c": 0.12188,
    "h": 107.1
  },
  "luminance": 0.3019
}

Semantic roles & 50–950 ramp

primary
#9D9933
secondary
#7073BB
accent
#53DA4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9933

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

Preview Lab → · Contrast checker → · Palette generator →

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