#9D9833#9D9833

#9D9833 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.121 H 106.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9D9833
RGBrgb(157, 152, 51)
HSLhsl(57, 51%, 41%)
HSVhsv(57, 68%, 62%)
CMYKcmyk(0%, 3.2%, 67.5%, 38.4%)
CIE-LABlab(61.54, -10.76, 51.55)
CIE-LCHlch(61.54, 52.66, 101.79°)
OKLaboklab(66.47% -0.0343 0.1159)
OKLCHoklch(66.47% 0.121 106.5)
XYZxyz(25.7313, 29.8645, 7.5403)
Luminance0.2986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9833 #33389D
analogous
#9D6333 #9D9833 #6D9D33
triadic
#9D9833 #339D98 #98339D
tetradic
#9D9833 #339D63 #33389D #9D336D
square
#9D9833 #339D63 #33389D #9D336D
split-complementary
#9D9833 #336D9D #63339D
monochromatic
#413F15 #6F6B24 #9D9833 #C4BE49 #D3CF77

Accessibility & contrast

On white

3.01
#9D9833 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#9D9833 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9833
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9833#FFFFFF#000000##000000
##9D98331.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59225
Deuteranopia (green-blind)
#A79639
Tritanopia (blue-blind)
#A88E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d9833;
/* rgb */ color: rgb(157, 152, 51);
/* oklch */ color: oklch(66.5% 0.121 106.5);
Tailwind
colors: {
  custom: {
    50: '#bdb670',
    500: '#9d9833',
    950: '#000000',
  },
}
SCSS
$custom: #9d9833;
$custom-light: #bdb670;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9833",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 51
  },
  "hsl": {
    "h": 57.17,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66472,
    "c": 0.12088,
    "h": 106.5
  },
  "luminance": 0.29864
}

Semantic roles & 50–950 ramp

primary
#9D9833
secondary
#7074BB
accent
#54DA4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9833

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

Preview Lab → · Contrast checker → · Palette generator →

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