#9E861A#9E861A

#9E861A is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.121 H 95.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9E861A
RGBrgb(158, 134, 26)
HSLhsl(49, 72%, 36%)
HSVhsv(49, 84%, 62%)
CMYKcmyk(0%, 15.2%, 83.5%, 38%)
CIE-LABlab(56.48, -1.69, 55.90)
CIE-LCHlch(56.48, 55.93, 91.73°)
OKLaboklab(62.43% -0.0113 0.1202)
OKLCHoklch(62.43% 0.121 95.4)
XYZxyz(22.8134, 24.3952, 4.4842)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E861A #1A329E
analogous
#9E441A #9E861A #749E1A
triadic
#9E861A #1A9E86 #861A9E
tetradic
#9E861A #1A9E44 #1A329E #9E1A74
square
#9E861A #1A9E44 #1A329E #9E1A74
split-complementary
#9E861A #1A749E #441A9E
monochromatic
#352D09 #695911 #9E861A #D3B323 #E2C850

Accessibility & contrast

On white

3.57
#9E861A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#9E861A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E861A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E861A#FFFFFF#000000##000000
##9E861A1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9B8B22
Tritanopia (blue-blind)
#AB7B72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e861a;
/* rgb */ color: rgb(158, 134, 26);
/* oklch */ color: oklch(62.4% 0.121 95.4);
Tailwind
colors: {
  custom: {
    50: '#bfa862',
    500: '#9e861a',
    950: '#000000',
  },
}
SCSS
$custom: #9e861a;
$custom-light: #bfa862;
$custom-dark: #000000;
JSON
{
  "hex": "#9e861a",
  "rgb": {
    "r": 158,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 49.091,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62432,
    "c": 0.12076,
    "h": 95.4
  },
  "luminance": 0.24394
}

Semantic roles & 50–950 ramp

primary
#9E861A
secondary
#4F64C5
accent
#5AEE39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E861A

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

Preview Lab → · Contrast checker → · Palette generator →

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