#9E7E19#9E7E19

#9E7E19 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.7% C 0.117 H 89.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9E7E19
RGBrgb(158, 126, 25)
HSLhsl(46, 73%, 36%)
HSVhsv(46, 84%, 62%)
CMYKcmyk(0%, 20.3%, 84.2%, 38%)
CIE-LABlab(54.30, 2.74, 54.33)
CIE-LCHlch(54.30, 54.40, 87.12°)
OKLaboklab(60.71% 0.0012 0.1166)
OKLCHoklch(60.71% 0.117 89.4)
XYZxyz(21.7382, 22.2625, 4.0716)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7E19 #19399E
analogous
#9E3B19 #9E7E19 #7B9E19
triadic
#9E7E19 #199E7E #7E199E
tetradic
#9E7E19 #199E3B #19399E #9E197B
square
#9E7E19 #199E3B #19399E #9E197B
split-complementary
#9E7E19 #197B9E #3B199E
monochromatic
#342A08 #695411 #9E7E19 #D3A821 #E3BF4E

Accessibility & contrast

On white

3.85
#9E7E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#9E7E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7E19
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7E19#FFFFFF#000000##000000
##9E7E191.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#AC726C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9e7e19;
/* rgb */ color: rgb(158, 126, 25);
/* oklch */ color: oklch(60.7% 0.117 89.4);
Tailwind
colors: {
  custom: {
    50: '#bfa361',
    500: '#9e7e19',
    950: '#000000',
  },
}
SCSS
$custom: #9e7e19;
$custom-light: #bfa361;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7e19",
  "rgb": {
    "r": 158,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 45.564,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.1166,
    "h": 89.4
  },
  "luminance": 0.22261
}

Semantic roles & 50–950 ramp

primary
#9E7E19
secondary
#4E6AC5
accent
#64EF38
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F05
muted
#827E7A

Preview Lab

Preview with #9E7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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