#9E9D14#9E9D14

#9E9D14 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.5% C 0.142 H 109.2°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9E9D14
RGBrgb(158, 157, 20)
HSLhsl(60, 78%, 35%)
HSVhsv(60, 87%, 62%)
CMYKcmyk(0%, 0.6%, 87.3%, 38%)
CIE-LABlab(62.87, -14.21, 62.76)
CIE-LCHlch(62.87, 64.35, 102.76°)
OKLaboklab(67.51% -0.0467 0.1341)
OKLCHoklch(67.51% 0.142 109.2)
XYZxyz(26.2849, 31.4344, 5.3446)
Luminance0.3143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9D14 #14159E
analogous
#9E5814 #9E9D14 #5A9E14
triadic
#9E9D14 #149E9D #9D149E
tetradic
#9E9D14 #149E58 #14159E #9E145A
square
#9E9D14 #149E58 #14159E #9E145A
split-complementary
#9E9D14 #145A9E #58149E
monochromatic
#313106 #68670D #9E9D14 #D4D31B #E7E645

Accessibility & contrast

On white

2.88
#9E9D14 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#9E9D14 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9D14
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9D14#FFFFFF#000000##000000
##9E9D141.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AC9A23
Tritanopia (blue-blind)
#AA9286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e9d14;
/* rgb */ color: rgb(158, 157, 20);
/* oklch */ color: oklch(67.5% 0.142 109.2);
Tailwind
colors: {
  custom: {
    50: '#bfb963',
    500: '#9e9d14',
    950: '#000000',
  },
}
SCSS
$custom: #9e9d14;
$custom-light: #bfb963;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9d14",
  "rgb": {
    "r": 158,
    "g": 157,
    "b": 20
  },
  "hsl": {
    "h": 59.565,
    "s": 77.528,
    "l": 34.902
  },
  "oklch": {
    "l": 0.67508,
    "c": 0.14202,
    "h": 109.2
  },
  "luminance": 0.31434
}

Semantic roles & 50–950 ramp

primary
#9E9D14
secondary
#4647C8
accent
#35F434
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9D14

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

Preview Lab → · Contrast checker → · Palette generator →

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