#9D902C#9D902C

#9D902C is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.6% C 0.118 H 101.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9D902C
RGBrgb(157, 144, 44)
HSLhsl(53, 56%, 39%)
HSVhsv(53, 72%, 62%)
CMYKcmyk(0%, 8.3%, 72%, 38.4%)
CIE-LABlab(59.25, -6.86, 52.10)
CIE-LCHlch(59.25, 52.55, 97.50°)
OKLaboklab(64.64% -0.0241 0.1158)
OKLCHoklch(64.64% 0.118 101.7)
XYZxyz(24.3336, 27.2975, 6.3696)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D902C #2C399D
analogous
#9D572C #9D902C #729D2C
triadic
#9D902C #2C9D90 #902C9D
tetradic
#9D902C #2C9D57 #2C399D #9D2C72
square
#9D902C #2C9D57 #2C399D #9D2C72
split-complementary
#9D902C #2C729D #572C9D
monochromatic
#3D3811 #6D641F #9D902C #C9B93D #D6CA6D

Accessibility & contrast

On white

3.25
#9D902C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#9D902C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D902C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D902C#FFFFFF#000000##000000
##9D902C1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1C
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#A9867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d902c;
/* rgb */ color: rgb(157, 144, 44);
/* oklch */ color: oklch(64.6% 0.118 101.7);
Tailwind
colors: {
  custom: {
    50: '#bdb06c',
    500: '#9d902c',
    950: '#000000',
  },
}
SCSS
$custom: #9d902c;
$custom-light: #bdb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d902c",
  "rgb": {
    "r": 157,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 53.097,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64636,
    "c": 0.11829,
    "h": 101.7
  },
  "luminance": 0.27296
}

Semantic roles & 50–950 ramp

primary
#9D902C
secondary
#6871BD
accent
#5AE048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9D902C

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

Preview Lab → · Contrast checker → · Palette generator →

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