#9C8F29#9C8F29

#9C8F29 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.119 H 101.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9C8F29
RGBrgb(156, 143, 41)
HSLhsl(53, 58%, 39%)
HSVhsv(53, 74%, 61%)
CMYKcmyk(0%, 8.3%, 73.7%, 38.8%)
CIE-LABlab(58.86, -6.92, 52.86)
CIE-LCHlch(58.86, 53.31, 97.46°)
OKLaboklab(64.3% -0.0245 0.1169)
OKLCHoklch(64.3% 0.119 101.8)
XYZxyz(23.9341, 26.8740, 6.0239)
Luminance0.2687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F29 #29369C
analogous
#9C5529 #9C8F29 #6F9C29
triadic
#9C8F29 #299C8F #8F299C
tetradic
#9C8F29 #299C55 #29369C #9C296F
square
#9C8F29 #299C55 #29369C #9C296F
split-complementary
#9C8F29 #296F9C #55299C
monochromatic
#3B3610 #6C631C #9C8F29 #CBBA38 #D7CB68

Accessibility & contrast

On white

3.29
#9C8F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#9C8F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F29
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F29#FFFFFF#000000##000000
##9C8F291.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B17
Deuteranopia (green-blind)
#A09030
Tritanopia (blue-blind)
#A8857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f29;
/* rgb */ color: rgb(156, 143, 41);
/* oklch */ color: oklch(64.3% 0.119 101.8);
Tailwind
colors: {
  custom: {
    50: '#bdaf6a',
    500: '#9c8f29',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f29;
$custom-light: #bdaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f29",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 53.217,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64296,
    "c": 0.11942,
    "h": 101.8
  },
  "luminance": 0.26873
}

Semantic roles & 50–950 ramp

primary
#9C8F29
secondary
#636DBE
accent
#58E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8F29

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

Preview Lab → · Contrast checker → · Palette generator →

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