#9C8E29#9C8E29

#9C8E29 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.119 H 101.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9C8E29
RGBrgb(156, 142, 41)
HSLhsl(53, 58%, 39%)
HSVhsv(53, 74%, 61%)
CMYKcmyk(0%, 9%, 73.7%, 38.8%)
CIE-LABlab(58.58, -6.38, 52.59)
CIE-LCHlch(58.58, 52.97, 96.92°)
OKLaboklab(64.08% -0.023 0.1163)
OKLCHoklch(64.08% 0.119 101.2)
XYZxyz(23.7846, 26.5751, 5.9741)
Luminance0.2657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E29 #29379C
analogous
#9C5429 #9C8E29 #709C29
triadic
#9C8E29 #299C8E #8E299C
tetradic
#9C8E29 #299C54 #29379C #9C2970
square
#9C8E29 #299C54 #29379C #9C2970
split-complementary
#9C8E29 #29709C #54299C
monochromatic
#3B3610 #6C621C #9C8E29 #CBB938 #D7CA68

Accessibility & contrast

On white

3.33
#9C8E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9C8E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E29
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E29#FFFFFF#000000##000000
##9C8E291.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A18
Deuteranopia (green-blind)
#A08F30
Tritanopia (blue-blind)
#A8847A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e29;
/* rgb */ color: rgb(156, 142, 41);
/* oklch */ color: oklch(64.1% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#bdae6a',
    500: '#9c8e29',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e29;
$custom-light: #bdae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e29",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 52.696,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64075,
    "c": 0.11856,
    "h": 101.2
  },
  "luminance": 0.26574
}

Semantic roles & 50–950 ramp

primary
#9C8E29
secondary
#636EBE
accent
#59E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8E29

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

Preview Lab → · Contrast checker → · Palette generator →

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