#9D941E#9D941E

#9D941E 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#9D941E
RGBrgb(157, 148, 30)
HSLhsl(56, 68%, 37%)
HSVhsv(56, 81%, 62%)
CMYKcmyk(0%, 5.7%, 80.9%, 38.4%)
CIE-LABlab(60.29, -9.62, 57.98)
CIE-LCHlch(60.29, 58.77, 99.42°)
OKLaboklab(65.44% -0.0332 0.1256)
OKLCHoklch(65.44% 0.13 104.8)
XYZxyz(24.7300, 28.4427, 5.4154)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D941E #1E279D
analogous
#9D551E #9D941E #679D1E
triadic
#9D941E #1E9D94 #941E9D
tetradic
#9D941E #1E9D55 #1E279D #9D1E67
square
#9D941E #1E9D55 #1E279D #9D1E67
split-complementary
#9D941E #1E679D #551E9D
monochromatic
#36330A #6A6414 #9D941E #D0C428 #DFD557

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D941E#FFFFFF#000000##000000
##9D941E1.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)
#A59428
Tritanopia (blue-blind)
#A9897E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d941e;
/* rgb */ color: rgb(157, 148, 30);
/* oklch */ color: oklch(65.4% 0.130 104.8);
Tailwind
colors: {
  custom: {
    50: '#beb366',
    500: '#9d941e',
    950: '#000000',
  },
}
SCSS
$custom: #9d941e;
$custom-light: #beb366;
$custom-dark: #000000;
JSON
{
  "hex": "#9d941e",
  "rgb": {
    "r": 157,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 55.748,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65436,
    "c": 0.1299,
    "h": 104.8
  },
  "luminance": 0.28442
}

Semantic roles & 50–950 ramp

primary
#9D941E
secondary
#545CC2
accent
#49EB3D
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D941E

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

Preview Lab → · Contrast checker → · Palette generator →

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