#9D9D3A#9D9D3A

#9D9D3A is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.7% C 0.121 H 109.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9D9D3A
RGBrgb(157, 157, 58)
HSLhsl(60, 46%, 42%)
HSVhsv(60, 63%, 62%)
CMYKcmyk(0%, 0%, 63.1%, 38.4%)
CIE-LABlab(63.00, -12.95, 50.09)
CIE-LCHlch(63.00, 51.74, 104.50°)
OKLaboklab(67.66% -0.0397 0.1139)
OKLCHoklch(67.66% 0.121 109.2)
XYZxyz(26.7262, 31.5883, 8.6915)
Luminance0.3159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9D3A #3A3A9D
analogous
#9D6C3A #9D9D3A #6C9D3A
triadic
#9D9D3A #3A9D9D #9D3A9D
tetradic
#9D9D3A #3A9D6C #3A3A9D #9D3A6C
square
#9D9D3A #3A9D6C #3A3A9D #9D3A6C
split-complementary
#9D9D3A #3A6C9D #6C3A9D
monochromatic
#444419 #707029 #9D9D3A #C0C054 #D0D081

Accessibility & contrast

On white

2.87
#9D9D3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#9D9D3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9D3A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9D3A#FFFFFF#000000##000000
##9D9D3A1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9972E
Deuteranopia (green-blind)
#AA9A40
Tritanopia (blue-blind)
#A89388
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d9d3a;
/* rgb */ color: rgb(157, 157, 58);
/* oklch */ color: oklch(67.7% 0.121 109.2);
Tailwind
colors: {
  custom: {
    50: '#bdb975',
    500: '#9d9d3a',
    950: '#000000',
  },
}
SCSS
$custom: #9d9d3a;
$custom-light: #bdb975;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9d3a",
  "rgb": {
    "r": 157,
    "g": 157,
    "b": 58
  },
  "hsl": {
    "h": 60,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67658,
    "c": 0.12067,
    "h": 109.2
  },
  "luminance": 0.31588
}

Semantic roles & 50–950 ramp

primary
#9D9D3A
secondary
#7979BA
accent
#52D652
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9D9D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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