#9D9B1D#9D9B1D

#9D9B1D is a light, vivid yellow. Relative luminance 0.307; OKLCH L 67.0% C 0.137 H 108.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9D9B1D
RGBrgb(157, 155, 29)
HSLhsl(59, 69%, 36%)
HSVhsv(59, 82%, 62%)
CMYKcmyk(0%, 1.3%, 81.5%, 38.4%)
CIE-LABlab(62.25, -13.36, 59.99)
CIE-LCHlch(62.25, 61.46, 102.55°)
OKLaboklab(67% -0.0437 0.1297)
OKLCHoklch(67% 0.137 108.6)
XYZxyz(25.8488, 30.7004, 5.7263)
Luminance0.3070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9B1D #1D1F9D
analogous
#9D5B1D #9D9B1D #5F9D1D
triadic
#9D9B1D #1D9D9B #9B1D9D
tetradic
#9D9B1D #1D9D5B #1D1F9D #9D1D5F
square
#9D9B1D #1D9D5B #1D1F9D #9D1D5F
split-complementary
#9D9B1D #1D5F9D #5B1D9D
monochromatic
#36350A #696813 #9D9B1D #D1CE27 #E0DD55

Accessibility & contrast

On white

2.94
#9D9B1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#9D9B1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9B1D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9B1D#FFFFFF#000000##000000
##9D9B1D1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AA9829
Tritanopia (blue-blind)
#A99084
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d9b1d;
/* rgb */ color: rgb(157, 155, 29);
/* oklch */ color: oklch(67.0% 0.137 108.6);
Tailwind
colors: {
  custom: {
    50: '#beb866',
    500: '#9d9b1d',
    950: '#000000',
  },
}
SCSS
$custom: #9d9b1d;
$custom-light: #beb866;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9b1d",
  "rgb": {
    "r": 157,
    "g": 155,
    "b": 29
  },
  "hsl": {
    "h": 59.063,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.67003,
    "c": 0.13689,
    "h": 108.6
  },
  "luminance": 0.30699
}

Semantic roles & 50–950 ramp

primary
#9D9B1D
secondary
#5355C3
accent
#3FEC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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