#9E9A19#9E9A19

#9E9A19 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.8% C 0.137 H 107.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9E9A19
RGBrgb(158, 154, 25)
HSLhsl(58, 73%, 36%)
HSVhsv(58, 84%, 62%)
CMYKcmyk(0%, 2.5%, 84.2%, 38%)
CIE-LABlab(62.04, -12.51, 60.91)
CIE-LCHlch(62.04, 62.18, 101.61°)
OKLaboklab(66.85% -0.0417 0.1309)
OKLCHoklch(66.85% 0.137 107.7)
XYZxyz(25.8327, 30.4514, 5.4365)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9A19 #191D9E
analogous
#9E5719 #9E9A19 #609E19
triadic
#9E9A19 #199E9A #9A199E
tetradic
#9E9A19 #199E57 #191D9E #9E1960
square
#9E9A19 #199E57 #191D9E #9E1960
split-complementary
#9E9A19 #19609E #57199E
monochromatic
#343308 #696611 #9E9A19 #D3CD21 #E3DF4E

Accessibility & contrast

On white

2.96
#9E9A19 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#9E9A19 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9A19
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9A19#FFFFFF#000000##000000
##9E9A191.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AA9826
Tritanopia (blue-blind)
#AA8F83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9e9a19;
/* rgb */ color: rgb(158, 154, 25);
/* oklch */ color: oklch(66.8% 0.137 107.7);
Tailwind
colors: {
  custom: {
    50: '#bfb765',
    500: '#9e9a19',
    950: '#000000',
  },
}
SCSS
$custom: #9e9a19;
$custom-light: #bfb765;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9a19",
  "rgb": {
    "r": 158,
    "g": 154,
    "b": 25
  },
  "hsl": {
    "h": 58.195,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66849,
    "c": 0.13741,
    "h": 107.7
  },
  "luminance": 0.3045
}

Semantic roles & 50–950 ramp

primary
#9E9A19
secondary
#4E51C5
accent
#3EEF38
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9A19

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

Preview Lab → · Contrast checker → · Palette generator →

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