#9D903E#9D903E

#9D903E is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.8% C 0.104 H 100.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9D903E
RGBrgb(157, 144, 62)
HSLhsl(52, 43%, 43%)
HSVhsv(52, 61%, 62%)
CMYKcmyk(0%, 8.3%, 60.5%, 38.4%)
CIE-LABlab(59.40, -5.72, 44.34)
CIE-LCHlch(59.40, 44.71, 97.35°)
OKLaboklab(64.81% -0.0187 0.1023)
OKLCHoklch(64.81% 0.104 100.4)
XYZxyz(24.7483, 27.4634, 8.5539)
Luminance0.2746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D903E #3E4B9D
analogous
#9D603E #9D903E #7B9D3E
triadic
#9D903E #3E9D90 #903E9D
tetradic
#9D903E #3E9D60 #3E4B9D #9D3E7B
square
#9D903E #3E9D60 #3E4B9D #9D3E7B
split-complementary
#9D903E #3E7B9D #603E9D
monochromatic
#45401B #71682D #9D903E #BEB05A #CFC586

Accessibility & contrast

On white

3.23
#9D903E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#9D903E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D903E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D903E#FFFFFF#000000##000000
##9D903E1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C35
Deuteranopia (green-blind)
#A09142
Tritanopia (blue-blind)
#A8867E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d903e;
/* rgb */ color: rgb(157, 144, 62);
/* oklch */ color: oklch(64.8% 0.104 100.4);
Tailwind
colors: {
  custom: {
    50: '#bcb076',
    500: '#9d903e',
    950: '#000000',
  },
}
SCSS
$custom: #9d903e;
$custom-light: #bcb076;
$custom-dark: #000000;
JSON
{
  "hex": "#9d903e",
  "rgb": {
    "r": 157,
    "g": 144,
    "b": 62
  },
  "hsl": {
    "h": 51.789,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64805,
    "c": 0.10399,
    "h": 100.4
  },
  "luminance": 0.27462
}

Semantic roles & 50–950 ramp

primary
#9D903E
secondary
#7D85BA
accent
#66D355
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9D903E

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

Preview Lab → · Contrast checker → · Palette generator →

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