#9E9A1D#9E9A1D

#9E9A1D is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.9% C 0.136 H 107.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9E9A1D
RGBrgb(158, 154, 29)
HSLhsl(58, 69%, 37%)
HSVhsv(58, 82%, 62%)
CMYKcmyk(0%, 2.5%, 81.6%, 38%)
CIE-LABlab(62.06, -12.38, 59.85)
CIE-LCHlch(62.06, 61.12, 101.69°)
OKLaboklab(66.87% -0.041 0.1294)
OKLCHoklch(66.87% 0.136 107.6)
XYZxyz(25.8790, 30.4699, 5.6803)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9A1D #1D219E
analogous
#9E5A1D #9E9A1D #619E1D
triadic
#9E9A1D #1D9E9A #9A1D9E
tetradic
#9E9A1D #1D9E5A #1D219E #9E1D61
square
#9E9A1D #1D9E5A #1D219E #9E1D61
split-complementary
#9E9A1D #1D619E #5A1D9E
monochromatic
#37350A #6A6814 #9E9A1D #D2CC26 #E0DC56

Accessibility & contrast

On white

2.96
#9E9A1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#9E9A1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9A1D
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9A1D#FFFFFF#000000##000000
##9E9A1D1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e9a1d;
/* rgb */ color: rgb(158, 154, 29);
/* oklch */ color: oklch(66.9% 0.136 107.6);
Tailwind
colors: {
  custom: {
    50: '#bfb766',
    500: '#9e9a1d',
    950: '#000000',
  },
}
SCSS
$custom: #9e9a1d;
$custom-light: #bfb766;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9a1d",
  "rgb": {
    "r": 158,
    "g": 154,
    "b": 29
  },
  "hsl": {
    "h": 58.14,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66867,
    "c": 0.13574,
    "h": 107.6
  },
  "luminance": 0.30469
}

Semantic roles & 50–950 ramp

primary
#9E9A1D
secondary
#5457C3
accent
#41EC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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