#9D9E17#9D9E17

#9D9E17 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.142 H 110.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9D9E17
RGBrgb(157, 158, 23)
HSLhsl(60, 75%, 35%)
HSVhsv(60, 85%, 62%)
CMYKcmyk(0.6%, 0%, 85.4%, 38%)
CIE-LABlab(63.08, -15.10, 62.23)
CIE-LCHlch(63.08, 64.04, 103.64°)
OKLaboklab(67.66% -0.0489 0.1335)
OKLCHoklch(67.66% 0.142 110.1)
XYZxyz(26.2872, 31.6845, 5.5414)
Luminance0.3168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9E17 #18179E
analogous
#9E5B17 #9D9E17 #5A9E17
triadic
#9D9E17 #179D9E #9E179D
tetradic
#9D9E17 #179E5B #18179E #9E175A
square
#9D9E17 #179E5B #18179E #9E175A
split-complementary
#9D9E17 #175A9E #5B179E
monochromatic
#333307 #68690F #9D9E17 #D2D31F #E4E54B

Accessibility & contrast

On white

2.86
#9D9E17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#9D9E17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9E17
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9E17#FFFFFF#000000##000000
##9D9E171.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AD9A26
Tritanopia (blue-blind)
#A99387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9e17;
/* rgb */ color: rgb(157, 158, 23);
/* oklch */ color: oklch(67.7% 0.142 110.1);
Tailwind
colors: {
  custom: {
    50: '#beba64',
    500: '#9d9e17',
    950: '#000000',
  },
}
SCSS
$custom: #9d9e17;
$custom-light: #beba64;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9e17",
  "rgb": {
    "r": 157,
    "g": 158,
    "b": 23
  },
  "hsl": {
    "h": 60.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67657,
    "c": 0.14221,
    "h": 110.1
  },
  "luminance": 0.31684
}

Semantic roles & 50–950 ramp

primary
#9D9E17
secondary
#4B4AC6
accent
#37F138
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9E17

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

Preview Lab → · Contrast checker → · Palette generator →

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