#9D9F16#9D9F16

#9D9F16 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.9% C 0.144 H 110.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9D9F16
RGBrgb(157, 159, 22)
HSLhsl(61, 76%, 35%)
HSVhsv(61, 86%, 62%)
CMYKcmyk(1.3%, 0%, 86.2%, 37.6%)
CIE-LABlab(63.36, -15.65, 62.69)
CIE-LCHlch(63.36, 64.61, 104.01°)
OKLaboklab(67.88% -0.0505 0.1344)
OKLCHoklch(67.88% 0.144 110.6)
XYZxyz(26.4486, 32.0231, 5.5468)
Luminance0.3202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9F16 #18169F
analogous
#9F5C16 #9D9F16 #589F16
triadic
#9D9F16 #169D9F #9F169D
tetradic
#9D9F16 #169F5C #18169F #9F1658
square
#9D9F16 #169F5C #18169F #9F1658
split-complementary
#9D9F16 #16589F #5C169F
monochromatic
#333307 #68690F #9D9F16 #D2D51D #E4E64A

Accessibility & contrast

On white

2.84
#9D9F16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#9D9F16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9F16
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9F16#FFFFFF#000000##000000
##9D9F161.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AD9B25
Tritanopia (blue-blind)
#A99487
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9f16;
/* rgb */ color: rgb(157, 159, 22);
/* oklch */ color: oklch(67.9% 0.144 110.6);
Tailwind
colors: {
  custom: {
    50: '#bebb64',
    500: '#9d9f16',
    950: '#000000',
  },
}
SCSS
$custom: #9d9f16;
$custom-light: #bebb64;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9f16",
  "rgb": {
    "r": 157,
    "g": 159,
    "b": 22
  },
  "hsl": {
    "h": 60.876,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6788,
    "c": 0.14354,
    "h": 110.6
  },
  "luminance": 0.32022
}

Semantic roles & 50–950 ramp

primary
#9D9F16
secondary
#4B4AC7
accent
#36F238
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9F16

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

Preview Lab → · Contrast checker → · Palette generator →

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