#9E9F18#9E9F18

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

Color values

HEX#9E9F18
RGBrgb(158, 159, 24)
HSLhsl(60, 74%, 36%)
HSVhsv(60, 85%, 62%)
CMYKcmyk(0.6%, 0%, 84.9%, 37.6%)
CIE-LABlab(63.45, -15.15, 62.34)
CIE-LCHlch(63.45, 64.15, 103.66°)
OKLaboklab(67.97% -0.0491 0.1339)
OKLCHoklch(67.97% 0.143 110.1)
XYZxyz(26.6646, 32.1321, 5.6615)
Luminance0.3213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9F18 #19189F
analogous
#9F5C18 #9E9F18 #5B9F18
triadic
#9E9F18 #189E9F #9F189E
tetradic
#9E9F18 #189F5C #19189F #9F185B
square
#9E9F18 #189F5C #19189F #9F185B
split-complementary
#9E9F18 #185B9F #5C189F
monochromatic
#343508 #696A10 #9E9F18 #D3D420 #E3E44D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9F18#FFFFFF#000000##000000
##9E9F181.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)
#AE9B26
Tritanopia (blue-blind)
#AA9487
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9e9f18;
/* rgb */ color: rgb(158, 159, 24);
/* oklch */ color: oklch(68.0% 0.143 110.1);
Tailwind
colors: {
  custom: {
    50: '#bfbb65',
    500: '#9e9f18',
    950: '#000000',
  },
}
SCSS
$custom: #9e9f18;
$custom-light: #bfbb65;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9f18",
  "rgb": {
    "r": 158,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 60.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67975,
    "c": 0.14259,
    "h": 110.1
  },
  "luminance": 0.32131
}

Semantic roles & 50–950 ramp

primary
#9E9F18
secondary
#4E4DC6
accent
#37F039
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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