#9E8A1E#9E8A1E

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

Color values

HEX#9E8A1E
RGBrgb(158, 138, 30)
HSLhsl(51, 68%, 37%)
HSVhsv(51, 81%, 62%)
CMYKcmyk(0%, 12.7%, 81%, 38%)
CIE-LABlab(57.60, -3.75, 55.64)
CIE-LCHlch(57.60, 55.77, 93.86°)
OKLaboklab(63.32% -0.0168 0.1205)
OKLCHoklch(63.32% 0.122 97.9)
XYZxyz(23.4246, 25.5410, 4.9241)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A1E #1E329E
analogous
#9E4A1E #9E8A1E #729E1E
triadic
#9E8A1E #1E9E8A #8A1E9E
tetradic
#9E8A1E #1E9E4A #1E329E #9E1E72
square
#9E8A1E #1E9E4A #1E329E #9E1E72
split-complementary
#9E8A1E #1E729E #4A1E9E
monochromatic
#37300A #6B5D14 #9E8A1E #D1B728 #DFCA57

Accessibility & contrast

On white

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

On black

6.11
#9E8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A1E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A1E#FFFFFF#000000##000000
##9E8A1E1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e8a1e;
/* rgb */ color: rgb(158, 138, 30);
/* oklch */ color: oklch(63.3% 0.122 97.9);
Tailwind
colors: {
  custom: {
    50: '#bfab64',
    500: '#9e8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a1e;
$custom-light: #bfab64;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a1e",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 50.625,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63323,
    "c": 0.12166,
    "h": 97.9
  },
  "luminance": 0.2554
}

Semantic roles & 50–950 ramp

primary
#9E8A1E
secondary
#5566C3
accent
#58EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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