#9D9B18#9D9B18

#9D9B18 is a light, vivid yellow. Relative luminance 0.307; OKLCH L 67.0% C 0.139 H 108.7°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9D9B18
RGBrgb(157, 155, 24)
HSLhsl(59, 73%, 35%)
HSVhsv(59, 85%, 62%)
CMYKcmyk(0%, 1.3%, 84.7%, 38.4%)
CIE-LABlab(62.23, -13.51, 61.29)
CIE-LCHlch(62.23, 62.76, 102.43°)
OKLaboklab(66.98% -0.0445 0.1316)
OKLCHoklch(66.98% 0.139 108.7)
XYZxyz(25.7919, 30.6776, 5.4267)
Luminance0.3068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9B18 #181A9D
analogous
#9D5918 #9D9B18 #5C9D18
triadic
#9D9B18 #189D9B #9B189D
tetradic
#9D9B18 #189D59 #181A9D #9D185C
square
#9D9B18 #189D59 #181A9D #9D185C
split-complementary
#9D9B18 #185C9D #59189D
monochromatic
#333208 #686710 #9D9B18 #D2CF20 #E4E14C

Accessibility & contrast

On white

2.94
#9D9B18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#9D9B18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9B18
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9B18#FFFFFF#000000##000000
##9D9B181.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#AA9826
Tritanopia (blue-blind)
#A99084
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d9b18;
/* rgb */ color: rgb(157, 155, 24);
/* oklch */ color: oklch(67.0% 0.139 108.7);
Tailwind
colors: {
  custom: {
    50: '#beb864',
    500: '#9d9b18',
    950: '#000000',
  },
}
SCSS
$custom: #9d9b18;
$custom-light: #beb864;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9b18",
  "rgb": {
    "r": 157,
    "g": 155,
    "b": 24
  },
  "hsl": {
    "h": 59.098,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66981,
    "c": 0.13894,
    "h": 108.7
  },
  "luminance": 0.30677
}

Semantic roles & 50–950 ramp

primary
#9D9B18
secondary
#4B4DC5
accent
#3AF038
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9B18

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

Preview Lab → · Contrast checker → · Palette generator →

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