#9C8B29#9C8B29

#9C8B29 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.116 H 99.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9C8B29
RGBrgb(156, 139, 41)
HSLhsl(51, 58%, 39%)
HSVhsv(51, 74%, 61%)
CMYKcmyk(0%, 10.9%, 73.7%, 38.8%)
CIE-LABlab(57.75, -4.75, 51.78)
CIE-LCHlch(57.75, 51.99, 95.24°)
OKLaboklab(63.41% -0.0184 0.1146)
OKLCHoklch(63.41% 0.116 99.1)
XYZxyz(23.3443, 25.6944, 5.8273)
Luminance0.2569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B29 #293A9C
analogous
#9C5129 #9C8B29 #739C29
triadic
#9C8B29 #299C8B #8B299C
tetradic
#9C8B29 #299C51 #293A9C #9C2973
square
#9C8B29 #299C51 #293A9C #9C2973
split-complementary
#9C8B29 #29739C #51299C
monochromatic
#3B3510 #6C601C #9C8B29 #CBB538 #D7C768

Accessibility & contrast

On white

3.42
#9C8B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9C8B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B29
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B29#FFFFFF#000000##000000
##9C8B291.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998719
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#A88078
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b29;
/* rgb */ color: rgb(156, 139, 41);
/* oklch */ color: oklch(63.4% 0.116 99.1);
Tailwind
colors: {
  custom: {
    50: '#bdac6a',
    500: '#9c8b29',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b29;
$custom-light: #bdac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b29",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 51.13,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63414,
    "c": 0.11606,
    "h": 99.1
  },
  "luminance": 0.25693
}

Semantic roles & 50–950 ramp

primary
#9C8B29
secondary
#6371BE
accent
#5DE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8B29

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

Preview Lab → · Contrast checker → · Palette generator →

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