#9E9E18#9E9E18

#9E9E18 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.7% C 0.142 H 109.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9E9E18
RGBrgb(158, 158, 24)
HSLhsl(60, 74%, 36%)
HSVhsv(60, 85%, 62%)
CMYKcmyk(0%, 0%, 84.8%, 38%)
CIE-LABlab(63.17, -14.63, 62.10)
CIE-LCHlch(63.17, 63.80, 103.26°)
OKLaboklab(67.75% -0.0476 0.1334)
OKLCHoklch(67.75% 0.142 109.7)
XYZxyz(26.4933, 31.7896, 5.6044)
Luminance0.3179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9E18 #18189E
analogous
#9E5B18 #9E9E18 #5B9E18
triadic
#9E9E18 #189E9E #9E189E
tetradic
#9E9E18 #189E5B #18189E #9E185B
square
#9E9E18 #189E5B #18189E #9E185B
split-complementary
#9E9E18 #185B9E #5B189E
monochromatic
#343408 #696910 #9E9E18 #D3D320 #E4E44D

Accessibility & contrast

On white

2.85
#9E9E18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#9E9E18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9E18
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9E18#FFFFFF#000000##000000
##9E9E181.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AD9B26
Tritanopia (blue-blind)
#AA9387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e9e18;
/* rgb */ color: rgb(158, 158, 24);
/* oklch */ color: oklch(67.7% 0.142 109.7);
Tailwind
colors: {
  custom: {
    50: '#bfba65',
    500: '#9e9e18',
    950: '#000000',
  },
}
SCSS
$custom: #9e9e18;
$custom-light: #bfba65;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9e18",
  "rgb": {
    "r": 158,
    "g": 158,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.67748,
    "c": 0.14161,
    "h": 109.7
  },
  "luminance": 0.31789
}

Semantic roles & 50–950 ramp

primary
#9E9E18
secondary
#4C4CC6
accent
#38F038
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9E18

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

Preview Lab → · Contrast checker → · Palette generator →

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