#9D941D#9D941D

#9D941D is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.4% C 0.130 H 104.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9D941D
RGBrgb(157, 148, 29)
HSLhsl(56, 69%, 36%)
HSVhsv(56, 82%, 62%)
CMYKcmyk(0%, 5.7%, 81.5%, 38.4%)
CIE-LABlab(60.28, -9.65, 58.27)
CIE-LCHlch(60.28, 59.07, 99.41°)
OKLaboklab(65.43% -0.0334 0.126)
OKLCHoklch(65.43% 0.13 104.8)
XYZxyz(24.7174, 28.4376, 5.3492)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D941D #1D269D
analogous
#9D541D #9D941D #669D1D
triadic
#9D941D #1D9D94 #941D9D
tetradic
#9D941D #1D9D54 #1D269D #9D1D66
square
#9D941D #1D9D54 #1D269D #9D1D66
split-complementary
#9D941D #1D669D #541D9D
monochromatic
#36330A #696313 #9D941D #D1C527 #E0D655

Accessibility & contrast

On white

3.14
#9D941D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#9D941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D941D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D941D#FFFFFF#000000##000000
##9D941D1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A59427
Tritanopia (blue-blind)
#A9897E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d941d;
/* rgb */ color: rgb(157, 148, 29);
/* oklch */ color: oklch(65.4% 0.130 104.8);
Tailwind
colors: {
  custom: {
    50: '#beb365',
    500: '#9d941d',
    950: '#000000',
  },
}
SCSS
$custom: #9d941d;
$custom-light: #beb365;
$custom-dark: #000000;
JSON
{
  "hex": "#9d941d",
  "rgb": {
    "r": 157,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 55.781,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65431,
    "c": 0.13037,
    "h": 104.8
  },
  "luminance": 0.28437
}

Semantic roles & 50–950 ramp

primary
#9D941D
secondary
#535BC3
accent
#48EC3C
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D941D

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

Preview Lab → · Contrast checker → · Palette generator →

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