#9E9D1E#9E9D1E

#9E9D1E is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.5% C 0.138 H 109.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9E9D1E
RGBrgb(158, 157, 30)
HSLhsl(60, 68%, 37%)
HSVhsv(60, 81%, 62%)
CMYKcmyk(0%, 0.6%, 81%, 38%)
CIE-LABlab(62.91, -13.92, 60.31)
CIE-LCHlch(62.91, 61.90, 103.00°)
OKLaboklab(67.55% -0.0452 0.1306)
OKLCHoklch(67.55% 0.138 109.1)
XYZxyz(26.3929, 31.4776, 5.9136)
Luminance0.3148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9D1E #1E1F9E
analogous
#9E5D1E #9E9D1E #5F9E1E
triadic
#9E9D1E #1E9E9D #9D1E9E
tetradic
#9E9D1E #1E9E5D #1E1F9E #9E1E5F
square
#9E9D1E #1E9E5D #1E1F9E #9E1E5F
split-complementary
#9E9D1E #1E5F9E #5D1E9E
monochromatic
#37370A #6B6A14 #9E9D1E #D1D028 #DFDE57

Accessibility & contrast

On white

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

On black

7.30
#9E9D1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9D1E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9D1E#FFFFFF#000000##000000
##9E9D1E1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e9d1e;
/* rgb */ color: rgb(158, 157, 30);
/* oklch */ color: oklch(67.5% 0.138 109.1);
Tailwind
colors: {
  custom: {
    50: '#beb967',
    500: '#9e9d1e',
    950: '#000000',
  },
}
SCSS
$custom: #9e9d1e;
$custom-light: #beb967;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9d1e",
  "rgb": {
    "r": 158,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 59.531,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67548,
    "c": 0.13819,
    "h": 109.1
  },
  "luminance": 0.31477
}

Semantic roles & 50–950 ramp

primary
#9E9D1E
secondary
#5556C3
accent
#3EEB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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