#9D9F1D#9D9F1D

#9D9F1D is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.9% C 0.141 H 110.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9D9F1D
RGBrgb(157, 159, 29)
HSLhsl(61, 69%, 37%)
HSVhsv(61, 82%, 62%)
CMYKcmyk(1.3%, 0%, 81.8%, 37.6%)
CIE-LABlab(63.39, -15.44, 60.97)
CIE-LCHlch(63.39, 62.90, 104.21°)
OKLaboklab(67.91% -0.0495 0.1319)
OKLCHoklch(67.91% 0.141 110.6)
XYZxyz(26.5255, 32.0539, 5.9519)
Luminance0.3205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9F1D #1F1D9F
analogous
#9F601D #9D9F1D #5C9F1D
triadic
#9D9F1D #1D9D9F #9F1D9D
tetradic
#9D9F1D #1D9F60 #1F1D9F #9F1D5C
square
#9D9F1D #1D9F60 #1F1D9F #9F1D5C
split-complementary
#9D9F1D #1D5C9F #601D9F
monochromatic
#37370A #6A6B14 #9D9F1D #D0D326 #DEE056

Accessibility & contrast

On white

2.83
#9D9F1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#9D9F1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9F1D
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9F1D#FFFFFF#000000##000000
##9D9F1D1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AD9B2A
Tritanopia (blue-blind)
#A99488
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9f1d;
/* rgb */ color: rgb(157, 159, 29);
/* oklch */ color: oklch(67.9% 0.141 110.6);
Tailwind
colors: {
  custom: {
    50: '#bebb67',
    500: '#9d9f1d',
    950: '#000000',
  },
}
SCSS
$custom: #9d9f1d;
$custom-light: #bebb67;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9f1d",
  "rgb": {
    "r": 157,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 60.923,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67909,
    "c": 0.14083,
    "h": 110.6
  },
  "luminance": 0.32053
}

Semantic roles & 50–950 ramp

primary
#9D9F1D
secondary
#5654C4
accent
#3CEC3F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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