#9E9E1B#9E9E1B

#9E9E1B 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#9E9E1B
RGBrgb(158, 158, 27)
HSLhsl(60, 71%, 36%)
HSVhsv(60, 83%, 62%)
CMYKcmyk(0%, 0%, 82.9%, 38%)
CIE-LABlab(63.18, -14.54, 61.36)
CIE-LCHlch(63.18, 63.06, 103.33°)
OKLaboklab(67.76% -0.0472 0.1323)
OKLCHoklch(67.76% 0.14 109.6)
XYZxyz(26.5263, 31.8028, 5.7779)
Luminance0.3180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9E1B #1B1B9E
analogous
#9E5D1B #9E9E1B #5D9E1B
triadic
#9E9E1B #1B9E9E #9E1B9E
tetradic
#9E9E1B #1B9E5D #1B1B9E #9E1B5D
square
#9E9E1B #1B9E5D #1B1B9E #9E1B5D
split-complementary
#9E9E1B #1B5D9E #5D1B9E
monochromatic
#353509 #6A6A12 #9E9E1B #D2D224 #E1E152

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9E1B#FFFFFF#000000##000000
##9E9E1B1.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)
#AD9B28
Tritanopia (blue-blind)
#AA9387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e9e1b;
/* rgb */ color: rgb(158, 158, 27);
/* oklch */ color: oklch(67.8% 0.140 109.6);
Tailwind
colors: {
  custom: {
    50: '#bfba66',
    500: '#9e9e1b',
    950: '#000000',
  },
}
SCSS
$custom: #9e9e1b;
$custom-light: #bfba66;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9e1b",
  "rgb": {
    "r": 158,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67761,
    "c": 0.14044,
    "h": 109.6
  },
  "luminance": 0.31802
}

Semantic roles & 50–950 ramp

primary
#9E9E1B
secondary
#5151C4
accent
#3AEE3A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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