#9D9130#9D9130

#9D9130 is a light, moderate yellow. Relative luminance 0.276; OKLCH L 64.9% C 0.116 H 102.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9D9130
RGBrgb(157, 145, 48)
HSLhsl(53, 53%, 40%)
HSVhsv(53, 69%, 62%)
CMYKcmyk(0%, 7.6%, 69.4%, 38.4%)
CIE-LABlab(59.56, -7.18, 50.78)
CIE-LCHlch(59.56, 51.29, 98.05°)
OKLaboklab(64.89% -0.0245 0.1138)
OKLCHoklch(64.89% 0.116 102.2)
XYZxyz(24.5646, 27.6333, 6.8356)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9130 #303C9D
analogous
#9D5A30 #9D9130 #739D30
triadic
#9D9130 #309D91 #91309D
tetradic
#9D9130 #309D5A #303C9D #9D3073
square
#9D9130 #309D5A #303C9D #9D3073
split-complementary
#9D9130 #30739D #5A309D
monochromatic
#3F3A13 #6E6622 #9D9130 #C6B844 #D4CA73

Accessibility & contrast

On white

3.22
#9D9130 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#9D9130 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9130
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9130#FFFFFF#000000##000000
##9D91301.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C22
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#A9877D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d9130;
/* rgb */ color: rgb(157, 145, 48);
/* oklch */ color: oklch(64.9% 0.116 102.2);
Tailwind
colors: {
  custom: {
    50: '#bdb06e',
    500: '#9d9130',
    950: '#000000',
  },
}
SCSS
$custom: #9d9130;
$custom-light: #bdb06e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9130",
  "rgb": {
    "r": 157,
    "g": 145,
    "b": 48
  },
  "hsl": {
    "h": 53.394,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64889,
    "c": 0.11637,
    "h": 102.2
  },
  "luminance": 0.27632
}

Semantic roles & 50–950 ramp

primary
#9D9130
secondary
#6D75BC
accent
#5BDD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9D9130

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

Preview Lab → · Contrast checker → · Palette generator →

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