#9E9B18#9E9B18

#9E9B18 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.1% C 0.139 H 108.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9E9B18
RGBrgb(158, 155, 24)
HSLhsl(59, 74%, 36%)
HSVhsv(59, 85%, 62%)
CMYKcmyk(0%, 1.9%, 84.8%, 38%)
CIE-LABlab(62.32, -13.06, 61.39)
CIE-LCHlch(62.32, 62.77, 102.01°)
OKLaboklab(67.07% -0.0433 0.1318)
OKLCHoklch(67.07% 0.139 108.2)
XYZxyz(25.9879, 30.7786, 5.4359)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9B18 #181B9E
analogous
#9E5818 #9E9B18 #5E9E18
triadic
#9E9B18 #189E9B #9B189E
tetradic
#9E9B18 #189E58 #181B9E #9E185E
square
#9E9B18 #189E58 #181B9E #9E185E
split-complementary
#9E9B18 #185E9E #58189E
monochromatic
#343308 #696710 #9E9B18 #D3CF20 #E4E04D

Accessibility & contrast

On white

2.93
#9E9B18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#9E9B18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9B18
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9B18#FFFFFF#000000##000000
##9E9B181.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#AB9925
Tritanopia (blue-blind)
#AA9084
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e9b18;
/* rgb */ color: rgb(158, 155, 24);
/* oklch */ color: oklch(67.1% 0.139 108.2);
Tailwind
colors: {
  custom: {
    50: '#bfb864',
    500: '#9e9b18',
    950: '#000000',
  },
}
SCSS
$custom: #9e9b18;
$custom-light: #bfb864;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9b18",
  "rgb": {
    "r": 158,
    "g": 155,
    "b": 24
  },
  "hsl": {
    "h": 58.657,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.67071,
    "c": 0.13873,
    "h": 108.2
  },
  "luminance": 0.30778
}

Semantic roles & 50–950 ramp

primary
#9E9B18
secondary
#4C4FC6
accent
#3CF038
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9B18

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

Preview Lab → · Contrast checker → · Palette generator →

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