#9D9E1D#9D9E1D

#9D9E1D is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.140 H 110.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9D9E1D
RGBrgb(157, 158, 29)
HSLhsl(60, 69%, 37%)
HSVhsv(60, 82%, 62%)
CMYKcmyk(0.6%, 0%, 81.6%, 38%)
CIE-LABlab(63.10, -14.92, 60.73)
CIE-LCHlch(63.10, 62.53, 103.80°)
OKLaboklab(67.68% -0.048 0.1313)
OKLCHoklch(67.68% 0.14 110.1)
XYZxyz(26.3543, 31.7113, 5.8948)
Luminance0.3171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9E1D #1E1D9E
analogous
#9E5F1D #9D9E1D #5D9E1D
triadic
#9D9E1D #1D9D9E #9E1D9D
tetradic
#9D9E1D #1D9E5F #1E1D9E #9E1D5D
square
#9D9E1D #1D9E5F #1E1D9E #9E1D5D
split-complementary
#9D9E1D #1D5D9E #5F1D9E
monochromatic
#36370A #6A6A14 #9D9E1D #D0D226 #DFE056

Accessibility & contrast

On white

2.86
#9D9E1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#9D9E1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9E1D
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9E1D#FFFFFF#000000##000000
##9D9E1D1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AD9A29
Tritanopia (blue-blind)
#A99387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9e1d;
/* rgb */ color: rgb(157, 158, 29);
/* oklch */ color: oklch(67.7% 0.140 110.1);
Tailwind
colors: {
  custom: {
    50: '#beba67',
    500: '#9d9e1d',
    950: '#000000',
  },
}
SCSS
$custom: #9d9e1d;
$custom-light: #beba67;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9e1d",
  "rgb": {
    "r": 157,
    "g": 158,
    "b": 29
  },
  "hsl": {
    "h": 60.465,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67682,
    "c": 0.13983,
    "h": 110.1
  },
  "luminance": 0.31711
}

Semantic roles & 50–950 ramp

primary
#9D9E1D
secondary
#5454C3
accent
#3CEC3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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