#9D8A30#9D8A30

#9D8A30 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.110 H 97.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9D8A30
RGBrgb(157, 138, 48)
HSLhsl(50, 53%, 40%)
HSVhsv(50, 69%, 62%)
CMYKcmyk(0%, 12.1%, 69.4%, 38.4%)
CIE-LABlab(57.62, -3.37, 48.80)
CIE-LCHlch(57.62, 48.92, 93.95°)
OKLaboklab(63.35% -0.0137 0.1096)
OKLCHoklch(63.35% 0.11 97.1)
XYZxyz(23.5277, 25.5596, 6.4900)
Luminance0.2556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8A30 #30439D
analogous
#9D5330 #9D8A30 #7A9D30
triadic
#9D8A30 #309D8A #8A309D
tetradic
#9D8A30 #309D53 #30439D #9D307A
square
#9D8A30 #309D53 #30439D #9D307A
split-complementary
#9D8A30 #307A9D #53309D
monochromatic
#3F3813 #6E6122 #9D8A30 #C6AF44 #D4C373

Accessibility & contrast

On white

3.44
#9D8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#9D8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8A30
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8A30#FFFFFF#000000##000000
##9D8A301.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988724
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#A98078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d8a30;
/* rgb */ color: rgb(157, 138, 48);
/* oklch */ color: oklch(63.4% 0.110 97.1);
Tailwind
colors: {
  custom: {
    50: '#bdab6d',
    500: '#9d8a30',
    950: '#000000',
  },
}
SCSS
$custom: #9d8a30;
$custom-light: #bdab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8a30",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 49.541,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63351,
    "c": 0.11041,
    "h": 97.1
  },
  "luminance": 0.25558
}

Semantic roles & 50–950 ramp

primary
#9D8A30
secondary
#6D7BBC
accent
#65DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9D8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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