#9E851A#9E851A

#9E851A is a light, vivid yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.120 H 94.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9E851A
RGBrgb(158, 133, 26)
HSLhsl(49, 72%, 36%)
HSVhsv(49, 84%, 62%)
CMYKcmyk(0%, 15.8%, 83.5%, 38%)
CIE-LABlab(56.21, -1.13, 55.67)
CIE-LCHlch(56.21, 55.68, 91.17°)
OKLaboklab(62.22% -0.0097 0.1197)
OKLCHoklch(62.22% 0.12 94.6)
XYZxyz(22.6758, 24.1201, 4.4384)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E851A #1A339E
analogous
#9E431A #9E851A #759E1A
triadic
#9E851A #1A9E85 #851A9E
tetradic
#9E851A #1A9E43 #1A339E #9E1A75
square
#9E851A #1A9E43 #1A339E #9E1A75
split-complementary
#9E851A #1A759E #431A9E
monochromatic
#352D09 #695911 #9E851A #D3B123 #E2C750

Accessibility & contrast

On white

3.61
#9E851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#9E851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E851A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E851A#FFFFFF#000000##000000
##9E851A1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#9A8A22
Tritanopia (blue-blind)
#AB7A72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e851a;
/* rgb */ color: rgb(158, 133, 26);
/* oklch */ color: oklch(62.2% 0.120 94.6);
Tailwind
colors: {
  custom: {
    50: '#bfa862',
    500: '#9e851a',
    950: '#000000',
  },
}
SCSS
$custom: #9e851a;
$custom-light: #bfa862;
$custom-dark: #000000;
JSON
{
  "hex": "#9e851a",
  "rgb": {
    "r": 158,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 48.636,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62216,
    "c": 0.12011,
    "h": 94.6
  },
  "luminance": 0.24119
}

Semantic roles & 50–950 ramp

primary
#9E851A
secondary
#4F65C5
accent
#5CEE39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E851A

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

Preview Lab → · Contrast checker → · Palette generator →

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