#9C8D26#9C8D26

#9C8D26 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.120 H 100.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9C8D26
RGBrgb(156, 141, 38)
HSLhsl(52, 61%, 38%)
HSVhsv(52, 76%, 61%)
CMYKcmyk(0%, 9.6%, 75.6%, 38.8%)
CIE-LABlab(58.28, -5.98, 53.43)
CIE-LCHlch(58.28, 53.77, 96.38°)
OKLaboklab(63.83% -0.0222 0.1175)
OKLCHoklch(63.83% 0.12 100.7)
XYZxyz(23.5861, 26.2587, 5.6594)
Luminance0.2626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D26 #26359C
analogous
#9C5226 #9C8D26 #709C26
triadic
#9C8D26 #269C8D #8D269C
tetradic
#9C8D26 #269C52 #26359C #9C2670
square
#9C8D26 #269C52 #26359C #9C2670
split-complementary
#9C8D26 #26709C #52269C
monochromatic
#3A340E #6B611A #9C8D26 #CDB932 #D9CA63

Accessibility & contrast

On white

3.36
#9C8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9C8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D26
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D26#FFFFFF#000000##000000
##9C8D261.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8913
Deuteranopia (green-blind)
#9F8F2D
Tritanopia (blue-blind)
#A88279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d26;
/* rgb */ color: rgb(156, 141, 38);
/* oklch */ color: oklch(63.8% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#bdae68',
    500: '#9c8d26',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d26;
$custom-light: #bdae68;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d26",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 52.373,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63833,
    "c": 0.11959,
    "h": 100.7
  },
  "luminance": 0.26258
}

Semantic roles & 50–950 ramp

primary
#9C8D26
secondary
#5F6BBF
accent
#58E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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