#9E9F16#9E9F16

#9E9F16 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.42:1 contrast (WCAG AA passes).

Color values

HEX#9E9F16
RGBrgb(158, 159, 22)
HSLhsl(60, 76%, 35%)
HSVhsv(60, 86%, 62%)
CMYKcmyk(0.6%, 0%, 86.2%, 37.6%)
CIE-LABlab(63.45, -15.20, 62.79)
CIE-LCHlch(63.45, 64.61, 103.61°)
OKLaboklab(67.97% -0.0493 0.1345)
OKLCHoklch(67.97% 0.143 110.1)
XYZxyz(26.6446, 32.1241, 5.5559)
Luminance0.3212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9F16 #17169F
analogous
#9F5B16 #9E9F16 #599F16
triadic
#9E9F16 #169E9F #9F169E
tetradic
#9E9F16 #169F5B #17169F #9F1659
square
#9E9F16 #169F5B #17169F #9F1659
split-complementary
#9E9F16 #16599F #5B169F
monochromatic
#333307 #69690F #9E9F16 #D3D51D #E5E64A

Accessibility & contrast

On white

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

On black

7.42
#9E9F16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9F16
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9F16#FFFFFF#000000##000000
##9E9F161.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AE9B25
Tritanopia (blue-blind)
#AA9487
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9e9f16;
/* rgb */ color: rgb(158, 159, 22);
/* oklch */ color: oklch(68.0% 0.143 110.1);
Tailwind
colors: {
  custom: {
    50: '#bfbb64',
    500: '#9e9f16',
    950: '#000000',
  },
}
SCSS
$custom: #9e9f16;
$custom-light: #bfbb64;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9f16",
  "rgb": {
    "r": 158,
    "g": 159,
    "b": 22
  },
  "hsl": {
    "h": 60.438,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67967,
    "c": 0.14329,
    "h": 110.1
  },
  "luminance": 0.32123
}

Semantic roles & 50–950 ramp

primary
#9E9F16
secondary
#4A4AC7
accent
#36F237
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9F16

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

Preview Lab → · Contrast checker → · Palette generator →

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