#9E9B19#9E9B19

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

Color values

HEX#9E9B19
RGBrgb(158, 155, 25)
HSLhsl(59, 73%, 36%)
HSVhsv(59, 84%, 62%)
CMYKcmyk(0%, 1.9%, 84.2%, 38%)
CIE-LABlab(62.32, -13.03, 61.15)
CIE-LCHlch(62.32, 62.52, 102.03°)
OKLaboklab(67.07% -0.0431 0.1315)
OKLCHoklch(67.07% 0.138 108.2)
XYZxyz(25.9984, 30.7829, 5.4917)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9B19 #191C9E
analogous
#9E5819 #9E9B19 #5E9E19
triadic
#9E9B19 #199E9B #9B199E
tetradic
#9E9B19 #199E58 #191C9E #9E195E
square
#9E9B19 #199E58 #191C9E #9E195E
split-complementary
#9E9B19 #195E9E #58199E
monochromatic
#343308 #696711 #9E9B19 #D3CF21 #E3E04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9B19#FFFFFF#000000##000000
##9E9B191.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)
#AB9926
Tritanopia (blue-blind)
#AA9084
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e9b19;
/* rgb */ color: rgb(158, 155, 25);
/* oklch */ color: oklch(67.1% 0.138 108.2);
Tailwind
colors: {
  custom: {
    50: '#bfb865',
    500: '#9e9b19',
    950: '#000000',
  },
}
SCSS
$custom: #9e9b19;
$custom-light: #bfb865;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9b19",
  "rgb": {
    "r": 158,
    "g": 155,
    "b": 25
  },
  "hsl": {
    "h": 58.647,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67075,
    "c": 0.13835,
    "h": 108.2
  },
  "luminance": 0.30782
}

Semantic roles & 50–950 ramp

primary
#9E9B19
secondary
#4E50C5
accent
#3DEF38
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9B19

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

Preview Lab → · Contrast checker → · Palette generator →

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