#9E8B19#9E8B19

#9E8B19 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.125 H 98.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9E8B19
RGBrgb(158, 139, 25)
HSLhsl(51, 73%, 36%)
HSVhsv(51, 84%, 62%)
CMYKcmyk(0%, 12%, 84.2%, 38%)
CIE-LABlab(57.85, -4.47, 57.36)
CIE-LCHlch(57.85, 57.54, 94.45°)
OKLaboklab(63.52% -0.0192 0.1232)
OKLCHoklch(63.52% 0.125 98.9)
XYZxyz(23.5099, 25.8058, 4.6622)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8B19 #192C9E
analogous
#9E4919 #9E8B19 #6E9E19
triadic
#9E8B19 #199E8B #8B199E
tetradic
#9E8B19 #199E49 #192C9E #9E196E
square
#9E8B19 #199E49 #192C9E #9E196E
split-complementary
#9E8B19 #196E9E #49199E
monochromatic
#342E08 #695D11 #9E8B19 #D3B921 #E3CE4E

Accessibility & contrast

On white

3.41
#9E8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9E8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8B19
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8B19#FFFFFF#000000##000000
##9E8B191.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9F8E23
Tritanopia (blue-blind)
#AB8077
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e8b19;
/* rgb */ color: rgb(158, 139, 25);
/* oklch */ color: oklch(63.5% 0.125 98.9);
Tailwind
colors: {
  custom: {
    50: '#bfac62',
    500: '#9e8b19',
    950: '#000000',
  },
}
SCSS
$custom: #9e8b19;
$custom-light: #bfac62;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8b19",
  "rgb": {
    "r": 158,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 51.429,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63516,
    "c": 0.1247,
    "h": 98.9
  },
  "luminance": 0.25805
}

Semantic roles & 50–950 ramp

primary
#9E8B19
secondary
#4E5FC5
accent
#53EF38
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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