#9C8A29#9C8A29

#9C8A29 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.115 H 98.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9C8A29
RGBrgb(156, 138, 41)
HSLhsl(51, 58%, 39%)
HSVhsv(51, 74%, 61%)
CMYKcmyk(0%, 11.5%, 73.7%, 38.8%)
CIE-LABlab(57.47, -4.20, 51.51)
CIE-LCHlch(57.47, 51.68, 94.66°)
OKLaboklab(63.2% -0.0168 0.114)
OKLCHoklch(63.2% 0.115 98.4)
XYZxyz(23.2001, 25.4061, 5.7792)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A29 #293B9C
analogous
#9C5029 #9C8A29 #749C29
triadic
#9C8A29 #299C8A #8A299C
tetradic
#9C8A29 #299C50 #293B9C #9C2974
square
#9C8A29 #299C50 #293B9C #9C2974
split-complementary
#9C8A29 #29749C #50299C
monochromatic
#3B3410 #6C5F1C #9C8A29 #CBB438 #D7C668

Accessibility & contrast

On white

3.45
#9C8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9C8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A29
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A29#FFFFFF#000000##000000
##9C8A291.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988619
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#A87F77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a29;
/* rgb */ color: rgb(156, 138, 41);
/* oklch */ color: oklch(63.2% 0.115 98.4);
Tailwind
colors: {
  custom: {
    50: '#bdab6a',
    500: '#9c8a29',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a29;
$custom-light: #bdab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a29",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 50.609,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63195,
    "c": 0.11525,
    "h": 98.4
  },
  "luminance": 0.25405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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