#9D9E19#9D9E19

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

Color values

HEX#9D9E19
RGBrgb(157, 158, 25)
HSLhsl(60, 73%, 36%)
HSVhsv(60, 84%, 62%)
CMYKcmyk(0.6%, 0%, 84.2%, 38%)
CIE-LABlab(63.09, -15.05, 61.76)
CIE-LCHlch(63.09, 63.56, 103.69°)
OKLaboklab(67.66% -0.0487 0.1328)
OKLCHoklch(67.66% 0.141 110.1)
XYZxyz(26.3080, 31.6928, 5.6510)
Luminance0.3169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9E19 #1A199E
analogous
#9E5C19 #9D9E19 #5A9E19
triadic
#9D9E19 #199D9E #9E199D
tetradic
#9D9E19 #199E5C #1A199E #9E195A
square
#9D9E19 #199E5C #1A199E #9E195A
split-complementary
#9D9E19 #195A9E #5C199E
monochromatic
#343408 #686911 #9D9E19 #D2D321 #E2E34E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9E19#FFFFFF#000000##000000
##9D9E191.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)
#AD9A27
Tritanopia (blue-blind)
#A99387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9e19;
/* rgb */ color: rgb(157, 158, 25);
/* oklch */ color: oklch(67.7% 0.141 110.1);
Tailwind
colors: {
  custom: {
    50: '#beba65',
    500: '#9d9e19',
    950: '#000000',
  },
}
SCSS
$custom: #9d9e19;
$custom-light: #beba65;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9e19",
  "rgb": {
    "r": 157,
    "g": 158,
    "b": 25
  },
  "hsl": {
    "h": 60.451,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67665,
    "c": 0.14146,
    "h": 110.1
  },
  "luminance": 0.31692
}

Semantic roles & 50–950 ramp

primary
#9D9E19
secondary
#4E4EC5
accent
#38EF3A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9E19

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

Preview Lab → · Contrast checker → · Palette generator →

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