#9E8A19#9E8A19

#9E8A19 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.124 H 98.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9E8A19
RGBrgb(158, 138, 25)
HSLhsl(51, 73%, 36%)
HSVhsv(51, 84%, 62%)
CMYKcmyk(0%, 12.7%, 84.2%, 38%)
CIE-LABlab(57.58, -3.92, 57.13)
CIE-LCHlch(57.58, 57.26, 93.92°)
OKLaboklab(63.3% -0.0176 0.1227)
OKLCHoklch(63.3% 0.124 98.2)
XYZxyz(23.3658, 25.5175, 4.6142)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A19 #192D9E
analogous
#9E4719 #9E8A19 #6F9E19
triadic
#9E8A19 #199E8A #8A199E
tetradic
#9E8A19 #199E47 #192D9E #9E196F
square
#9E8A19 #199E47 #192D9E #9E196F
split-complementary
#9E8A19 #196F9E #47199E
monochromatic
#342E08 #695C11 #9E8A19 #D3B821 #E3CD4E

Accessibility & contrast

On white

3.44
#9E8A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9E8A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A19
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A19#FFFFFF#000000##000000
##9E8A191.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9E8D22
Tritanopia (blue-blind)
#AB7F76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8a19;
/* rgb */ color: rgb(158, 138, 25);
/* oklch */ color: oklch(63.3% 0.124 98.2);
Tailwind
colors: {
  custom: {
    50: '#bfab62',
    500: '#9e8a19',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a19;
$custom-light: #bfab62;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a19",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 50.977,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63298,
    "c": 0.12396,
    "h": 98.2
  },
  "luminance": 0.25516
}

Semantic roles & 50–950 ramp

primary
#9E8A19
secondary
#4E60C5
accent
#54EF38
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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