#9D9734#9D9734

#9D9734 is a light, moderate yellow. Relative luminance 0.295; OKLCH L 66.3% C 0.119 H 105.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9D9734
RGBrgb(157, 151, 52)
HSLhsl(57, 50%, 41%)
HSVhsv(57, 67%, 62%)
CMYKcmyk(0%, 3.8%, 66.9%, 38.4%)
CIE-LABlab(61.26, -10.17, 50.85)
CIE-LCHlch(61.26, 51.86, 101.31°)
OKLaboklab(66.26% -0.0325 0.1146)
OKLCHoklch(66.26% 0.119 105.9)
XYZxyz(25.5920, 29.5501, 7.6038)
Luminance0.2955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9734 #343A9D
analogous
#9D6234 #9D9734 #6E9D34
triadic
#9D9734 #349D97 #97349D
tetradic
#9D9734 #349D62 #343A9D #9D346E
square
#9D9734 #349D62 #343A9D #9D346E
split-complementary
#9D9734 #346E9D #62349D
monochromatic
#413F16 #6F6B25 #9D9734 #C3BC4B #D3CD79

Accessibility & contrast

On white

3.04
#9D9734 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9D9734 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9734
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9734#FFFFFF#000000##000000
##9D97341.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49227
Deuteranopia (green-blind)
#A6963A
Tritanopia (blue-blind)
#A88D83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d9734;
/* rgb */ color: rgb(157, 151, 52);
/* oklch */ color: oklch(66.3% 0.119 105.9);
Tailwind
colors: {
  custom: {
    50: '#bdb571',
    500: '#9d9734',
    950: '#000000',
  },
}
SCSS
$custom: #9d9734;
$custom-light: #bdb571;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9734",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 52
  },
  "hsl": {
    "h": 56.571,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66257,
    "c": 0.11912,
    "h": 105.9
  },
  "luminance": 0.29549
}

Semantic roles & 50–950 ramp

primary
#9D9734
secondary
#7276BB
accent
#56DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9734

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

Preview Lab → · Contrast checker → · Palette generator →

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