#9E811A#9E811A

#9E811A is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.4% C 0.118 H 91.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9E811A
RGBrgb(158, 129, 26)
HSLhsl(47, 72%, 36%)
HSVhsv(47, 84%, 62%)
CMYKcmyk(0%, 18.4%, 83.5%, 38%)
CIE-LABlab(55.12, 1.09, 54.73)
CIE-LCHlch(55.12, 54.74, 88.86°)
OKLaboklab(61.36% -0.0034 0.1177)
OKLCHoklch(61.36% 0.118 91.7)
XYZxyz(22.1386, 23.0456, 4.2593)
Luminance0.2304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E811A #1A379E
analogous
#9E3F1A #9E811A #799E1A
triadic
#9E811A #1A9E81 #811A9E
tetradic
#9E811A #1A9E3F #1A379E #9E1A79
square
#9E811A #1A9E3F #1A379E #9E1A79
split-complementary
#9E811A #1A799E #3F1A9E
monochromatic
#352B09 #695611 #9E811A #D3AC23 #E2C250

Accessibility & contrast

On white

3.74
#9E811A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9E811A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E811A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E811A#FFFFFF#000000##000000
##9E811A1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#988721
Tritanopia (blue-blind)
#AC756E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9e811a;
/* rgb */ color: rgb(158, 129, 26);
/* oklch */ color: oklch(61.4% 0.118 91.7);
Tailwind
colors: {
  custom: {
    50: '#bfa561',
    500: '#9e811a',
    950: '#000000',
  },
}
SCSS
$custom: #9e811a;
$custom-light: #bfa561;
$custom-dark: #000000;
JSON
{
  "hex": "#9e811a",
  "rgb": {
    "r": 158,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 46.818,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.11772,
    "h": 91.7
  },
  "luminance": 0.23044
}

Semantic roles & 50–950 ramp

primary
#9E811A
secondary
#4F69C5
accent
#61EE39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9E811A

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

Preview Lab → · Contrast checker → · Palette generator →

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