#9E9C1D#9E9C1D

#9E9C1D is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.3% C 0.138 H 108.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9E9C1D
RGBrgb(158, 156, 29)
HSLhsl(59, 69%, 37%)
HSVhsv(59, 82%, 62%)
CMYKcmyk(0%, 1.3%, 81.6%, 38%)
CIE-LABlab(62.62, -13.43, 60.34)
CIE-LCHlch(62.62, 61.82, 102.55°)
OKLaboklab(67.32% -0.044 0.1305)
OKLCHoklch(67.32% 0.138 108.6)
XYZxyz(26.2118, 31.1356, 5.7912)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9C1D #1D1F9E
analogous
#9E5C1D #9E9C1D #609E1D
triadic
#9E9C1D #1D9E9C #9C1D9E
tetradic
#9E9C1D #1D9E5C #1D1F9E #9E1D60
square
#9E9C1D #1D9E5C #1D1F9E #9E1D60
split-complementary
#9E9C1D #1D609E #5C1D9E
monochromatic
#37360A #6A6914 #9E9C1D #D2CF26 #E0DE56

Accessibility & contrast

On white

2.91
#9E9C1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#9E9C1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9C1D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9C1D#FFFFFF#000000##000000
##9E9C1D1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#AA9185
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e9c1d;
/* rgb */ color: rgb(158, 156, 29);
/* oklch */ color: oklch(67.3% 0.138 108.6);
Tailwind
colors: {
  custom: {
    50: '#beb866',
    500: '#9e9c1d',
    950: '#000000',
  },
}
SCSS
$custom: #9e9c1d;
$custom-light: #beb866;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9c1d",
  "rgb": {
    "r": 158,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 59.07,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67318,
    "c": 0.13766,
    "h": 108.6
  },
  "luminance": 0.31135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E9C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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