#9E9519#9E9519

#9E9519 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.7% C 0.133 H 105.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9E9519
RGBrgb(158, 149, 25)
HSLhsl(56, 73%, 36%)
HSVhsv(56, 84%, 62%)
CMYKcmyk(0%, 5.7%, 84.2%, 38%)
CIE-LABlab(60.64, -9.86, 59.72)
CIE-LCHlch(60.64, 60.53, 99.38°)
OKLaboklab(65.73% -0.0343 0.1284)
OKLCHoklch(65.73% 0.133 105)
XYZxyz(25.0246, 28.8352, 5.1671)
Luminance0.2883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9519 #19229E
analogous
#9E5219 #9E9519 #649E19
triadic
#9E9519 #199E95 #95199E
tetradic
#9E9519 #199E52 #19229E #9E1964
square
#9E9519 #199E52 #19229E #9E1964
split-complementary
#9E9519 #19649E #52199E
monochromatic
#343108 #696311 #9E9519 #D3C721 #E3D94E

Accessibility & contrast

On white

3.10
#9E9519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#9E9519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9519
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9519#FFFFFF#000000##000000
##9E95191.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A69525
Tritanopia (blue-blind)
#AA8A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e9519;
/* rgb */ color: rgb(158, 149, 25);
/* oklch */ color: oklch(65.7% 0.133 105.0);
Tailwind
colors: {
  custom: {
    50: '#bfb364',
    500: '#9e9519',
    950: '#000000',
  },
}
SCSS
$custom: #9e9519;
$custom-light: #bfb364;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9519",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 25
  },
  "hsl": {
    "h": 55.94,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65729,
    "c": 0.13286,
    "h": 105
  },
  "luminance": 0.28834
}

Semantic roles & 50–950 ramp

primary
#9E9519
secondary
#4E56C5
accent
#45EF38
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9519

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

Preview Lab → · Contrast checker → · Palette generator →

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