#9E7D19#9E7D19

#9E7D19 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.5% C 0.116 H 88.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9E7D19
RGBrgb(158, 125, 25)
HSLhsl(45, 73%, 36%)
HSVhsv(45, 84%, 62%)
CMYKcmyk(0%, 20.9%, 84.2%, 38%)
CIE-LABlab(54.04, 3.30, 54.10)
CIE-LCHlch(54.04, 54.20, 86.51°)
OKLaboklab(60.5% 0.0028 0.1161)
OKLCHoklch(60.5% 0.116 88.6)
XYZxyz(21.6110, 22.0080, 4.0292)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7D19 #193A9E
analogous
#9E3A19 #9E7D19 #7C9E19
triadic
#9E7D19 #199E7D #7D199E
tetradic
#9E7D19 #199E3A #193A9E #9E197C
square
#9E7D19 #199E3A #193A9E #9E197C
split-complementary
#9E7D19 #197C9E #3A199E
monochromatic
#342908 #695311 #9E7D19 #D3A721 #E3BE4E

Accessibility & contrast

On white

3.89
#9E7D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9E7D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7D19
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7D19#FFFFFF#000000##000000
##9E7D191.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#958520
Tritanopia (blue-blind)
#AC716B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9e7d19;
/* rgb */ color: rgb(158, 125, 25);
/* oklch */ color: oklch(60.5% 0.116 88.6);
Tailwind
colors: {
  custom: {
    50: '#bfa260',
    500: '#9e7d19',
    950: '#000000',
  },
}
SCSS
$custom: #9e7d19;
$custom-light: #bfa260;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7d19",
  "rgb": {
    "r": 158,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 45.113,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.605,
    "c": 0.11612,
    "h": 88.6
  },
  "luminance": 0.22007
}

Semantic roles & 50–950 ramp

primary
#9E7D19
secondary
#4E6BC5
accent
#66EF38
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F05
muted
#827E7A

Preview Lab

Preview with #9E7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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