#9D9B3D#9D9B3D

#9D9B3D is a light, moderate yellow. Relative luminance 0.309; OKLCH L 67.2% C 0.116 H 108.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9D9B3D
RGBrgb(157, 155, 61)
HSLhsl(59, 44%, 43%)
HSVhsv(59, 61%, 62%)
CMYKcmyk(0%, 1.3%, 61.1%, 38.4%)
CIE-LABlab(62.46, -11.69, 48.18)
CIE-LCHlch(62.46, 49.58, 103.64°)
OKLaboklab(67.24% -0.0358 0.1103)
OKLCHoklch(67.24% 0.116 108)
XYZxyz(26.4691, 30.9485, 8.9933)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9B3D #3D3F9D
analogous
#9D6B3D #9D9B3D #6F9D3D
triadic
#9D9B3D #3D9D9B #9B3D9D
tetradic
#9D9B3D #3D9D6B #3D3F9D #9D3D6F
square
#9D9B3D #3D9D6B #3D3F9D #9D3D6F
split-complementary
#9D9B3D #3D6F9D #6B3D9D
monochromatic
#45441B #716F2C #9D9B3D #BEBC59 #D0CE85

Accessibility & contrast

On white

2.92
#9D9B3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#9D9B3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9B3D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9B3D#FFFFFF#000000##000000
##9D9B3D1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79532
Deuteranopia (green-blind)
#A99943
Tritanopia (blue-blind)
#A89287
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d9b3d;
/* rgb */ color: rgb(157, 155, 61);
/* oklch */ color: oklch(67.2% 0.116 108.0);
Tailwind
colors: {
  custom: {
    50: '#bcb877',
    500: '#9d9b3d',
    950: '#000000',
  },
}
SCSS
$custom: #9d9b3d;
$custom-light: #bcb877;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9b3d",
  "rgb": {
    "r": 157,
    "g": 155,
    "b": 61
  },
  "hsl": {
    "h": 58.75,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67238,
    "c": 0.116,
    "h": 108
  },
  "luminance": 0.30948
}

Semantic roles & 50–950 ramp

primary
#9D9B3D
secondary
#7C7DBA
accent
#57D454
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9D9B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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