#9D9A18#9D9A18

#9D9A18 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.138 H 108.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9D9A18
RGBrgb(157, 154, 24)
HSLhsl(59, 73%, 35%)
HSVhsv(59, 85%, 62%)
CMYKcmyk(0%, 1.9%, 84.7%, 38.4%)
CIE-LABlab(61.95, -12.99, 61.05)
CIE-LCHlch(61.95, 62.41, 102.01°)
OKLaboklab(66.76% -0.043 0.1311)
OKLCHoklch(66.76% 0.138 108.2)
XYZxyz(25.6262, 30.3461, 5.3715)
Luminance0.3034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9A18 #181B9D
analogous
#9D5818 #9D9A18 #5D9D18
triadic
#9D9A18 #189D9A #9A189D
tetradic
#9D9A18 #189D58 #181B9D #9D185D
square
#9D9A18 #189D58 #181B9D #9D185D
split-complementary
#9D9A18 #185D9D #58189D
monochromatic
#333208 #686610 #9D9A18 #D2CE20 #E4E04C

Accessibility & contrast

On white

2.97
#9D9A18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#9D9A18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9A18
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9A18#FFFFFF#000000##000000
##9D9A181.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89300
Deuteranopia (green-blind)
#AA9825
Tritanopia (blue-blind)
#A98F83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d9a18;
/* rgb */ color: rgb(157, 154, 24);
/* oklch */ color: oklch(66.8% 0.138 108.2);
Tailwind
colors: {
  custom: {
    50: '#beb764',
    500: '#9d9a18',
    950: '#000000',
  },
}
SCSS
$custom: #9d9a18;
$custom-light: #beb764;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9a18",
  "rgb": {
    "r": 157,
    "g": 154,
    "b": 24
  },
  "hsl": {
    "h": 58.647,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66756,
    "c": 0.13799,
    "h": 108.2
  },
  "luminance": 0.30345
}

Semantic roles & 50–950 ramp

primary
#9D9A18
secondary
#4B4EC5
accent
#3CF038
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9A18

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

Preview Lab → · Contrast checker → · Palette generator →

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