#9E9D18#9E9D18

#9E9D18 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.5% C 0.141 H 109.2°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9E9D18
RGBrgb(158, 157, 24)
HSLhsl(60, 74%, 36%)
HSVhsv(60, 85%, 62%)
CMYKcmyk(0%, 0.6%, 84.8%, 38%)
CIE-LABlab(62.89, -14.11, 61.86)
CIE-LCHlch(62.89, 63.45, 102.85°)
OKLaboklab(67.52% -0.0462 0.1328)
OKLCHoklch(67.52% 0.141 109.2)
XYZxyz(26.3235, 31.4498, 5.5478)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9D18 #18199E
analogous
#9E5A18 #9E9D18 #5C9E18
triadic
#9E9D18 #189E9D #9D189E
tetradic
#9E9D18 #189E5A #18199E #9E185C
square
#9E9D18 #189E5A #18199E #9E185C
split-complementary
#9E9D18 #185C9E #5A189E
monochromatic
#343308 #696810 #9E9D18 #D3D220 #E4E34D

Accessibility & contrast

On white

2.88
#9E9D18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#9E9D18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9D18
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9D18#FFFFFF#000000##000000
##9E9D181.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AC9A26
Tritanopia (blue-blind)
#AA9286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e9d18;
/* rgb */ color: rgb(158, 157, 24);
/* oklch */ color: oklch(67.5% 0.141 109.2);
Tailwind
colors: {
  custom: {
    50: '#bfb965',
    500: '#9e9d18',
    950: '#000000',
  },
}
SCSS
$custom: #9e9d18;
$custom-light: #bfb965;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9d18",
  "rgb": {
    "r": 158,
    "g": 157,
    "b": 24
  },
  "hsl": {
    "h": 59.552,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.67522,
    "c": 0.14064,
    "h": 109.2
  },
  "luminance": 0.31449
}

Semantic roles & 50–950 ramp

primary
#9E9D18
secondary
#4C4DC6
accent
#39F038
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9D18

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

Preview Lab → · Contrast checker → · Palette generator →

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