#9D9342#9D9342

#9D9342 is a light, moderate yellow. Relative luminance 0.284; OKLCH L 65.5% C 0.103 H 102.3°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9D9342
RGBrgb(157, 147, 66)
HSLhsl(53, 41%, 44%)
HSVhsv(53, 58%, 62%)
CMYKcmyk(0%, 6.4%, 58%, 38.4%)
CIE-LABlab(60.28, -7.04, 43.41)
CIE-LCHlch(60.28, 43.98, 99.21°)
OKLaboklab(65.51% -0.022 0.1008)
OKLCHoklch(65.51% 0.103 102.3)
XYZxyz(25.3226, 28.4298, 9.3068)
Luminance0.2843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9342 #424C9D
analogous
#9D6542 #9D9342 #799D42
triadic
#9D9342 #429D93 #93429D
tetradic
#9D9342 #429D65 #424C9D #9D4279
square
#9D9342 #429D65 #424C9D #9D4279
split-complementary
#9D9342 #42799D #65429D
monochromatic
#47421E #726B30 #9D9342 #BCB260 #CEC78B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9342#FFFFFF#000000##000000
##9D93421.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)
#9F8F3A
Deuteranopia (green-blind)
#A29346
Tritanopia (blue-blind)
#A88A81
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d9342;
/* rgb */ color: rgb(157, 147, 66);
/* oklch */ color: oklch(65.5% 0.103 102.3);
Tailwind
colors: {
  custom: {
    50: '#bcb279',
    500: '#9d9342',
    950: '#000000',
  },
}
SCSS
$custom: #9d9342;
$custom-light: #bcb279;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9342",
  "rgb": {
    "r": 157,
    "g": 147,
    "b": 66
  },
  "hsl": {
    "h": 53.407,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.65512,
    "c": 0.10318,
    "h": 102.3
  },
  "luminance": 0.28429
}

Semantic roles & 50–950 ramp

primary
#9D9342
secondary
#8288B9
accent
#64D157
background
#FBFAF7
surface
#F7F5EE
border
#D0CFC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #9D9342

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

Preview Lab → · Contrast checker → · Palette generator →

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