#9E8D1E#9E8D1E

#9E8D1E is a light, vivid yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.124 H 99.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9E8D1E
RGBrgb(158, 141, 30)
HSLhsl(52, 68%, 37%)
HSVhsv(52, 81%, 62%)
CMYKcmyk(0%, 10.8%, 81%, 38%)
CIE-LABlab(58.43, -5.39, 56.37)
CIE-LCHlch(58.43, 56.63, 95.46°)
OKLaboklab(63.98% -0.0214 0.1221)
OKLCHoklch(63.98% 0.124 99.9)
XYZxyz(23.8610, 26.4138, 5.0696)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8D1E #1E2F9E
analogous
#9E4D1E #9E8D1E #6F9E1E
triadic
#9E8D1E #1E9E8D #8D1E9E
tetradic
#9E8D1E #1E9E4D #1E2F9E #9E1E6F
square
#9E8D1E #1E9E4D #1E2F9E #9E1E6F
split-complementary
#9E8D1E #1E6F9E #4D1E9E
monochromatic
#37310A #6B5F14 #9E8D1E #D1BB28 #DFCD57

Accessibility & contrast

On white

3.34
#9E8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9E8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8D1E
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8D1E#FFFFFF#000000##000000
##9E8D1E1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#AB8279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9e8d1e;
/* rgb */ color: rgb(158, 141, 30);
/* oklch */ color: oklch(64.0% 0.124 99.9);
Tailwind
colors: {
  custom: {
    50: '#bfae65',
    500: '#9e8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #9e8d1e;
$custom-light: #bfae65;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8d1e",
  "rgb": {
    "r": 158,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 52.031,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6398,
    "c": 0.12395,
    "h": 99.9
  },
  "luminance": 0.26413
}

Semantic roles & 50–950 ramp

primary
#9E8D1E
secondary
#5564C3
accent
#54EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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