#9E8D19#9E8D19

#9E8D19 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.126 H 100.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9E8D19
RGBrgb(158, 141, 25)
HSLhsl(52, 73%, 36%)
HSVhsv(52, 84%, 62%)
CMYKcmyk(0%, 10.8%, 84.2%, 38%)
CIE-LABlab(58.41, -5.56, 57.83)
CIE-LCHlch(58.41, 58.10, 95.49°)
OKLaboklab(63.96% -0.0222 0.1242)
OKLCHoklch(63.96% 0.126 100.2)
XYZxyz(23.8021, 26.3902, 4.7596)
Luminance0.2639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8D19 #192A9E
analogous
#9E4A19 #9E8D19 #6C9E19
triadic
#9E8D19 #199E8D #8D199E
tetradic
#9E8D19 #199E4A #192A9E #9E196C
square
#9E8D19 #199E4A #192A9E #9E196C
split-complementary
#9E8D19 #196C9E #4A199E
monochromatic
#342F08 #695E11 #9E8D19 #D3BC21 #E3D04E

Accessibility & contrast

On white

3.35
#9E8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9E8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8D19
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8D19#FFFFFF#000000##000000
##9E8D191.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#A08F23
Tritanopia (blue-blind)
#AB8278
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9e8d19;
/* rgb */ color: rgb(158, 141, 25);
/* oklch */ color: oklch(64.0% 0.126 100.2);
Tailwind
colors: {
  custom: {
    50: '#bfad63',
    500: '#9e8d19',
    950: '#000000',
  },
}
SCSS
$custom: #9e8d19;
$custom-light: #bfad63;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8d19",
  "rgb": {
    "r": 158,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 52.331,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63955,
    "c": 0.12621,
    "h": 100.2
  },
  "luminance": 0.26389
}

Semantic roles & 50–950 ramp

primary
#9E8D19
secondary
#4E5DC5
accent
#50EF38
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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