#9E8E1E#9E8E1E

#9E8E1E is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.125 H 100.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9E8E1E
RGBrgb(158, 142, 30)
HSLhsl(53, 68%, 37%)
HSVhsv(53, 81%, 62%)
CMYKcmyk(0%, 10.1%, 81%, 38%)
CIE-LABlab(58.70, -5.93, 56.62)
CIE-LCHlch(58.70, 56.93, 95.98°)
OKLaboklab(64.2% -0.0229 0.1226)
OKLCHoklch(64.2% 0.125 100.6)
XYZxyz(24.0091, 26.7100, 5.1190)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8E1E #1E2E9E
analogous
#9E4E1E #9E8E1E #6E9E1E
triadic
#9E8E1E #1E9E8E #8E1E9E
tetradic
#9E8E1E #1E9E4E #1E2E9E #9E1E6E
square
#9E8E1E #1E9E4E #1E2E9E #9E1E6E
split-complementary
#9E8E1E #1E6E9E #4E1E9E
monochromatic
#37320A #6B6014 #9E8E1E #D1BC28 #DFCE57

Accessibility & contrast

On white

3.31
#9E8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#9E8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8E1E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8E1E#FFFFFF#000000##000000
##9E8E1E1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#A19027
Tritanopia (blue-blind)
#AB8379
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9e8e1e;
/* rgb */ color: rgb(158, 142, 30);
/* oklch */ color: oklch(64.2% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#bfae65',
    500: '#9e8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #9e8e1e;
$custom-light: #bfae65;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8e1e",
  "rgb": {
    "r": 158,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 52.5,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.642,
    "c": 0.12473,
    "h": 100.6
  },
  "luminance": 0.26709
}

Semantic roles & 50–950 ramp

primary
#9E8E1E
secondary
#5563C3
accent
#53EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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