#9E9F1A#9E9F1A

#9E9F1A is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.0% C 0.142 H 110.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9E9F1A
RGBrgb(158, 159, 26)
HSLhsl(60, 72%, 36%)
HSVhsv(60, 84%, 62%)
CMYKcmyk(0.6%, 0%, 83.6%, 37.6%)
CIE-LABlab(63.46, -15.09, 61.85)
CIE-LCHlch(63.46, 63.67, 103.71°)
OKLaboklab(67.98% -0.0488 0.1332)
OKLCHoklch(67.98% 0.142 110.1)
XYZxyz(26.6862, 32.1408, 5.7751)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9F1A #1B1A9F
analogous
#9F5E1A #9E9F1A #5C9F1A
triadic
#9E9F1A #1A9E9F #9F1A9E
tetradic
#9E9F1A #1A9F5E #1B1A9F #9F1A5C
square
#9E9F1A #1A9F5E #1B1A9F #9F1A5C
split-complementary
#9E9F1A #1A5C9F #5E1A9F
monochromatic
#353609 #6A6A11 #9E9F1A #D2D423 #E1E351

Accessibility & contrast

On white

2.83
#9E9F1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#9E9F1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9F1A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9F1A#FFFFFF#000000##000000
##9E9F1A1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AE9B28
Tritanopia (blue-blind)
#AA9488
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9e9f1a;
/* rgb */ color: rgb(158, 159, 26);
/* oklch */ color: oklch(68.0% 0.142 110.1);
Tailwind
colors: {
  custom: {
    50: '#bfbb66',
    500: '#9e9f1a',
    950: '#000000',
  },
}
SCSS
$custom: #9e9f1a;
$custom-light: #bfbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9f1a",
  "rgb": {
    "r": 158,
    "g": 159,
    "b": 26
  },
  "hsl": {
    "h": 60.451,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67983,
    "c": 0.14183,
    "h": 110.1
  },
  "luminance": 0.3214
}

Semantic roles & 50–950 ramp

primary
#9E9F1A
secondary
#5150C5
accent
#39EF3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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