#9D8D1E#9D8D1E

#9D8D1E is a light, vivid yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.124 H 100.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9D8D1E
RGBrgb(157, 141, 30)
HSLhsl(52, 68%, 37%)
HSVhsv(52, 81%, 62%)
CMYKcmyk(0%, 10.2%, 80.9%, 38.4%)
CIE-LABlab(58.33, -5.85, 56.25)
CIE-LCHlch(58.33, 56.56, 95.93°)
OKLaboklab(63.88% -0.0226 0.1219)
OKLCHoklch(63.88% 0.124 100.5)
XYZxyz(23.6650, 26.3127, 5.0604)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8D1E #1E2E9D
analogous
#9D4E1E #9D8D1E #6E9D1E
triadic
#9D8D1E #1E9D8D #8D1E9D
tetradic
#9D8D1E #1E9D4E #1E2E9D #9D1E6E
square
#9D8D1E #1E9D4E #1E2E9D #9D1E6E
split-complementary
#9D8D1E #1E6E9D #4E1E9D
monochromatic
#36310A #6A5F14 #9D8D1E #D0BB28 #DFCE57

Accessibility & contrast

On white

3.35
#9D8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#9D8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8D1E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8D1E#FFFFFF#000000##000000
##9D8D1E1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#AA8279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9d8d1e;
/* rgb */ color: rgb(157, 141, 30);
/* oklch */ color: oklch(63.9% 0.124 100.5);
Tailwind
colors: {
  custom: {
    50: '#beae65',
    500: '#9d8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #9d8d1e;
$custom-light: #beae65;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8d1e",
  "rgb": {
    "r": 157,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 52.441,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63882,
    "c": 0.12396,
    "h": 100.5
  },
  "luminance": 0.26312
}

Semantic roles & 50–950 ramp

primary
#9D8D1E
secondary
#5462C2
accent
#53EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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