#9E9C1E#9E9C1E

#9E9C1E is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.3% C 0.137 H 108.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9E9C1E
RGBrgb(158, 156, 30)
HSLhsl(59, 68%, 37%)
HSVhsv(59, 81%, 62%)
CMYKcmyk(0%, 1.3%, 81%, 38%)
CIE-LABlab(62.63, -13.40, 60.06)
CIE-LCHlch(62.63, 61.54, 102.58°)
OKLaboklab(67.32% -0.0438 0.13)
OKLCHoklch(67.32% 0.137 108.6)
XYZxyz(26.2244, 31.1406, 5.8574)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9C1E #1E209E
analogous
#9E5C1E #9E9C1E #609E1E
triadic
#9E9C1E #1E9E9C #9C1E9E
tetradic
#9E9C1E #1E9E5C #1E209E #9E1E60
square
#9E9C1E #1E9E5C #1E209E #9E1E60
split-complementary
#9E9C1E #1E609E #5C1E9E
monochromatic
#37360A #6B6914 #9E9C1E #D1CF28 #DFDD57

Accessibility & contrast

On white

2.91
#9E9C1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#9E9C1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9C1E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9C1E#FFFFFF#000000##000000
##9E9C1E1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#AB992A
Tritanopia (blue-blind)
#AA9185
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e9c1e;
/* rgb */ color: rgb(158, 156, 30);
/* oklch */ color: oklch(67.3% 0.137 108.6);
Tailwind
colors: {
  custom: {
    50: '#beb867',
    500: '#9e9c1e',
    950: '#000000',
  },
}
SCSS
$custom: #9e9c1e;
$custom-light: #beb867;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9c1e",
  "rgb": {
    "r": 158,
    "g": 156,
    "b": 30
  },
  "hsl": {
    "h": 59.063,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.13722,
    "h": 108.6
  },
  "luminance": 0.3114
}

Semantic roles & 50–950 ramp

primary
#9E9C1E
secondary
#5557C3
accent
#40EB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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