#9D9934#9D9934

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

Color values

HEX#9D9934
RGBrgb(157, 153, 52)
HSLhsl(58, 50%, 41%)
HSVhsv(58, 67%, 62%)
CMYKcmyk(0%, 2.5%, 66.9%, 38.4%)
CIE-LABlab(61.83, -11.23, 51.43)
CIE-LCHlch(61.83, 52.64, 102.32°)
OKLaboklab(66.71% -0.0355 0.1158)
OKLCHoklch(66.71% 0.121 107.1)
XYZxyz(25.9166, 30.1993, 7.7120)
Luminance0.3020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9934 #34389D
analogous
#9D6434 #9D9934 #6C9D34
triadic
#9D9934 #349D99 #99349D
tetradic
#9D9934 #349D64 #34389D #9D346C
square
#9D9934 #349D64 #34389D #9D346C
split-complementary
#9D9934 #346C9D #64349D
monochromatic
#413F16 #6F6C25 #9D9934 #C3BF4B #D3CF79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9934#FFFFFF#000000##000000
##9D99341.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)
#A69326
Deuteranopia (green-blind)
#A8973A
Tritanopia (blue-blind)
#A88F84
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d9934;
/* rgb */ color: rgb(157, 153, 52);
/* oklch */ color: oklch(66.7% 0.121 107.1);
Tailwind
colors: {
  custom: {
    50: '#bdb671',
    500: '#9d9934',
    950: '#000000',
  },
}
SCSS
$custom: #9d9934;
$custom-light: #bdb671;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9934",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 57.714,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66705,
    "c": 0.12114,
    "h": 107.1
  },
  "luminance": 0.30198
}

Semantic roles & 50–950 ramp

primary
#9D9934
secondary
#7274BB
accent
#53DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9934

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

Preview Lab → · Contrast checker → · Palette generator →

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