#9E7F19#9E7F19

#9E7F19 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.9% C 0.117 H 90.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9E7F19
RGBrgb(158, 127, 25)
HSLhsl(46, 73%, 36%)
HSVhsv(46, 84%, 62%)
CMYKcmyk(0%, 19.6%, 84.2%, 38%)
CIE-LABlab(54.57, 2.18, 54.56)
CIE-LCHlch(54.57, 54.61, 87.72°)
OKLaboklab(60.93% -0.0004 0.1171)
OKLCHoklch(60.93% 0.117 90.2)
XYZxyz(21.8668, 22.5195, 4.1145)
Luminance0.2252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7F19 #19389E
analogous
#9E3C19 #9E7F19 #7A9E19
triadic
#9E7F19 #199E7F #7F199E
tetradic
#9E7F19 #199E3C #19389E #9E197A
square
#9E7F19 #199E3C #19389E #9E197A
split-complementary
#9E7F19 #197A9E #3C199E
monochromatic
#342A08 #695511 #9E7F19 #D3A921 #E3C04E

Accessibility & contrast

On white

3.82
#9E7F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9E7F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7F19
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7F19#FFFFFF#000000##000000
##9E7F191.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#AC736C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9e7f19;
/* rgb */ color: rgb(158, 127, 25);
/* oklch */ color: oklch(60.9% 0.117 90.2);
Tailwind
colors: {
  custom: {
    50: '#bfa361',
    500: '#9e7f19',
    950: '#000000',
  },
}
SCSS
$custom: #9e7f19;
$custom-light: #bfa361;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7f19",
  "rgb": {
    "r": 158,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 46.015,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60925,
    "c": 0.1171,
    "h": 90.2
  },
  "luminance": 0.22518
}

Semantic roles & 50–950 ramp

primary
#9E7F19
secondary
#4E69C5
accent
#63EF38
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9E7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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