#9E9B1D#9E9B1D

#9E9B1D is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.1% C 0.137 H 108.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9E9B1D
RGBrgb(158, 155, 29)
HSLhsl(59, 69%, 37%)
HSVhsv(59, 82%, 62%)
CMYKcmyk(0%, 1.9%, 81.6%, 38%)
CIE-LABlab(62.34, -12.91, 60.10)
CIE-LCHlch(62.34, 61.47, 102.12°)
OKLaboklab(67.09% -0.0425 0.1299)
OKLCHoklch(67.09% 0.137 108.1)
XYZxyz(26.0447, 30.8014, 5.7355)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9B1D #1D209E
analogous
#9E5B1D #9E9B1D #619E1D
triadic
#9E9B1D #1D9E9B #9B1D9E
tetradic
#9E9B1D #1D9E5B #1D209E #9E1D61
square
#9E9B1D #1D9E5B #1D209E #9E1D61
split-complementary
#9E9B1D #1D619E #5B1D9E
monochromatic
#37360A #6A6814 #9E9B1D #D2CE26 #E0DD56

Accessibility & contrast

On white

2.93
#9E9B1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#9E9B1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9B1D
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9B1D#FFFFFF#000000##000000
##9E9B1D1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#AA9084
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e9b1d;
/* rgb */ color: rgb(158, 155, 29);
/* oklch */ color: oklch(67.1% 0.137 108.1);
Tailwind
colors: {
  custom: {
    50: '#beb866',
    500: '#9e9b1d',
    950: '#000000',
  },
}
SCSS
$custom: #9e9b1d;
$custom-light: #beb866;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9b1d",
  "rgb": {
    "r": 158,
    "g": 155,
    "b": 29
  },
  "hsl": {
    "h": 58.605,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67092,
    "c": 0.13669,
    "h": 108.1
  },
  "luminance": 0.308
}

Semantic roles & 50–950 ramp

primary
#9E9B1D
secondary
#5456C3
accent
#40EC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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