#9E7E1E#9E7E1E

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

Color values

HEX#9E7E1E
RGBrgb(158, 126, 30)
HSLhsl(45, 68%, 37%)
HSVhsv(45, 81%, 62%)
CMYKcmyk(0%, 20.3%, 81%, 38%)
CIE-LABlab(54.33, 2.91, 52.72)
CIE-LCHlch(54.33, 52.80, 86.85°)
OKLaboklab(60.74% 0.0022 0.1142)
OKLCHoklch(60.74% 0.114 88.9)
XYZxyz(21.7971, 22.2860, 4.3816)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7E1E #1E3E9E
analogous
#9E3E1E #9E7E1E #7E9E1E
triadic
#9E7E1E #1E9E7E #7E1E9E
tetradic
#9E7E1E #1E9E3E #1E3E9E #9E1E7E
square
#9E7E1E #1E9E3E #1E3E9E #9E1E7E
split-complementary
#9E7E1E #1E7E9E #3E1E9E
monochromatic
#372C0A #6B5514 #9E7E1E #D1A728 #DFBD57

Accessibility & contrast

On white

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

On black

5.46
#9E7E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7E1E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7E1E#FFFFFF#000000##000000
##9E7E1E1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e7e1e;
/* rgb */ color: rgb(158, 126, 30);
/* oklch */ color: oklch(60.7% 0.114 88.9);
Tailwind
colors: {
  custom: {
    50: '#bfa363',
    500: '#9e7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #9e7e1e;
$custom-light: #bfa363;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7e1e",
  "rgb": {
    "r": 158,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 45,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.11423,
    "h": 88.9
  },
  "luminance": 0.22285
}

Semantic roles & 50–950 ramp

primary
#9E7E1E
secondary
#5570C3
accent
#68EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A

Preview Lab

Preview with #9E7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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