#9D8530#9D8530

#9D8530 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.107 H 93.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9D8530
RGBrgb(157, 133, 48)
HSLhsl(47, 53%, 40%)
HSVhsv(47, 69%, 62%)
CMYKcmyk(0%, 15.3%, 69.4%, 38.4%)
CIE-LABlab(56.25, -0.61, 47.39)
CIE-LCHlch(56.25, 47.39, 90.74°)
OKLaboklab(62.27% -0.0058 0.1066)
OKLCHoklch(62.27% 0.107 93.1)
XYZxyz(22.8268, 24.1578, 6.2563)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8530 #30489D
analogous
#9D4E30 #9D8530 #7E9D30
triadic
#9D8530 #309D85 #85309D
tetradic
#9D8530 #309D4E #30489D #9D307E
square
#9D8530 #309D4E #30489D #9D307E
split-complementary
#9D8530 #307E9D #4E309D
monochromatic
#3F3613 #6E5D22 #9D8530 #C6A944 #D4BF73

Accessibility & contrast

On white

3.60
#9D8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#9D8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8530
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8530#FFFFFF#000000##000000
##9D85301.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#AA7A73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d8530;
/* rgb */ color: rgb(157, 133, 48);
/* oklch */ color: oklch(62.3% 0.107 93.1);
Tailwind
colors: {
  custom: {
    50: '#bda86d',
    500: '#9d8530',
    950: '#000000',
  },
}
SCSS
$custom: #9d8530;
$custom-light: #bda86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8530",
  "rgb": {
    "r": 157,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 46.789,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62266,
    "c": 0.10673,
    "h": 93.1
  },
  "luminance": 0.24157
}

Semantic roles & 50–950 ramp

primary
#9D8530
secondary
#6D7EBC
accent
#6BDD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9D8530

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

Preview Lab → · Contrast checker → · Palette generator →

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