#9E9E1D#9E9E1D

#9E9E1D is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.8% C 0.140 H 109.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9E9E1D
RGBrgb(158, 158, 29)
HSLhsl(60, 69%, 37%)
HSVhsv(60, 82%, 62%)
CMYKcmyk(0%, 0%, 81.6%, 38%)
CIE-LABlab(63.19, -14.48, 60.83)
CIE-LCHlch(63.19, 62.53, 103.39°)
OKLaboklab(67.77% -0.0468 0.1315)
OKLCHoklch(67.77% 0.14 109.6)
XYZxyz(26.5502, 31.8124, 5.9040)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9E1D #1D1D9E
analogous
#9E5E1D #9E9E1D #5E9E1D
triadic
#9E9E1D #1D9E9E #9E1D9E
tetradic
#9E9E1D #1D9E5E #1D1D9E #9E1D5E
square
#9E9E1D #1D9E5E #1D1D9E #9E1D5E
split-complementary
#9E9E1D #1D5E9E #5E1D9E
monochromatic
#37370A #6A6A14 #9E9E1D #D2D226 #E0E056

Accessibility & contrast

On white

2.85
#9E9E1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#9E9E1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9E1D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9E1D#FFFFFF#000000##000000
##9E9E1D1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e9e1d;
/* rgb */ color: rgb(158, 158, 29);
/* oklch */ color: oklch(67.8% 0.140 109.6);
Tailwind
colors: {
  custom: {
    50: '#beba67',
    500: '#9e9e1d',
    950: '#000000',
  },
}
SCSS
$custom: #9e9e1d;
$custom-light: #beba67;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9e1d",
  "rgb": {
    "r": 158,
    "g": 158,
    "b": 29
  },
  "hsl": {
    "h": 60,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67769,
    "c": 0.13961,
    "h": 109.6
  },
  "luminance": 0.31812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E9E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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