#9E841A#9E841A

#9E841A is a light, moderate yellow. Relative luminance 0.238; OKLCH L 62.0% C 0.119 H 93.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9E841A
RGBrgb(158, 132, 26)
HSLhsl(48, 72%, 36%)
HSVhsv(48, 84%, 62%)
CMYKcmyk(0%, 16.5%, 83.5%, 38%)
CIE-LABlab(55.93, -0.58, 55.43)
CIE-LCHlch(55.93, 55.43, 90.60°)
OKLaboklab(62% -0.0081 0.1192)
OKLCHoklch(62% 0.119 93.9)
XYZxyz(22.5396, 23.8476, 4.3929)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E841A #1A349E
analogous
#9E421A #9E841A #769E1A
triadic
#9E841A #1A9E84 #841A9E
tetradic
#9E841A #1A9E42 #1A349E #9E1A76
square
#9E841A #1A9E42 #1A349E #9E1A76
split-complementary
#9E841A #1A769E #421A9E
monochromatic
#352C09 #695811 #9E841A #D3B023 #E2C550

Accessibility & contrast

On white

3.64
#9E841A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#9E841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E841A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E841A#FFFFFF#000000##000000
##9E841A1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#9A8922
Tritanopia (blue-blind)
#AB7871
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9e841a;
/* rgb */ color: rgb(158, 132, 26);
/* oklch */ color: oklch(62.0% 0.119 93.9);
Tailwind
colors: {
  custom: {
    50: '#bfa762',
    500: '#9e841a',
    950: '#000000',
  },
}
SCSS
$custom: #9e841a;
$custom-light: #bfa762;
$custom-dark: #000000;
JSON
{
  "hex": "#9e841a",
  "rgb": {
    "r": 158,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 48.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62,
    "c": 0.11948,
    "h": 93.9
  },
  "luminance": 0.23846
}

Semantic roles & 50–950 ramp

primary
#9E841A
secondary
#4F66C5
accent
#5DEE39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E841A

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

Preview Lab → · Contrast checker → · Palette generator →

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