#9E8A1A#9E8A1A

#9E8A1A is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.124 H 98.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9E8A1A
RGBrgb(158, 138, 26)
HSLhsl(51, 72%, 36%)
HSVhsv(51, 84%, 62%)
CMYKcmyk(0%, 12.7%, 83.5%, 38%)
CIE-LABlab(57.58, -3.89, 56.84)
CIE-LCHlch(57.58, 56.98, 93.91°)
OKLaboklab(63.3% -0.0175 0.1223)
OKLCHoklch(63.3% 0.124 98.1)
XYZxyz(23.3767, 25.5219, 4.6720)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A1A #1A2E9E
analogous
#9E481A #9E8A1A #709E1A
triadic
#9E8A1A #1A9E8A #8A1A9E
tetradic
#9E8A1A #1A9E48 #1A2E9E #9E1A70
square
#9E8A1A #1A9E48 #1A2E9E #9E1A70
split-complementary
#9E8A1A #1A709E #481A9E
monochromatic
#352E09 #695C11 #9E8A1A #D3B823 #E2CC50

Accessibility & contrast

On white

3.44
#9E8A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9E8A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A1A
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A1A#FFFFFF#000000##000000
##9E8A1A1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9E8D23
Tritanopia (blue-blind)
#AB7F76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8a1a;
/* rgb */ color: rgb(158, 138, 26);
/* oklch */ color: oklch(63.3% 0.124 98.1);
Tailwind
colors: {
  custom: {
    50: '#bfab63',
    500: '#9e8a1a',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a1a;
$custom-light: #bfab63;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a1a",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 50.909,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63302,
    "c": 0.12352,
    "h": 98.1
  },
  "luminance": 0.25521
}

Semantic roles & 50–950 ramp

primary
#9E8A1A
secondary
#4F61C5
accent
#55EE39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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