#9C8B38#9C8B38

#9C8B38 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.105 H 97.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9C8B38
RGBrgb(156, 139, 56)
HSLhsl(50, 47%, 42%)
HSVhsv(50, 64%, 61%)
CMYKcmyk(0%, 10.9%, 64.1%, 38.8%)
CIE-LABlab(57.87, -3.87, 45.45)
CIE-LCHlch(57.87, 45.61, 94.86°)
OKLaboklab(63.55% -0.0141 0.1038)
OKLCHoklch(63.55% 0.105 97.7)
XYZxyz(23.6577, 25.8198, 7.4782)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B38 #38499C
analogous
#9C5938 #9C8B38 #7B9C38
triadic
#9C8B38 #389C8B #8B389C
tetradic
#9C8B38 #389C59 #38499C #9C387B
square
#9C8B38 #389C59 #38499C #9C387B
split-complementary
#9C8B38 #387B9C #59389C
monochromatic
#423B18 #6F6328 #9C8B38 #C0AD51 #D1C37E

Accessibility & contrast

On white

3.41
#9C8B38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9C8B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B38
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B38#FFFFFF#000000##000000
##9C8B381.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98882F
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#A88179
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b38;
/* rgb */ color: rgb(156, 139, 56);
/* oklch */ color: oklch(63.5% 0.105 97.7);
Tailwind
colors: {
  custom: {
    50: '#bcac72',
    500: '#9c8b38',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b38;
$custom-light: #bcac72;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b38",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 56
  },
  "hsl": {
    "h": 49.8,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63547,
    "c": 0.10476,
    "h": 97.7
  },
  "luminance": 0.25819
}

Semantic roles & 50–950 ramp

primary
#9C8B38
secondary
#7681BA
accent
#68D751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8B38

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

Preview Lab → · Contrast checker → · Palette generator →

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