#9C8B26#9C8B26

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

Color values

HEX#9C8B26
RGBrgb(156, 139, 38)
HSLhsl(51, 61%, 38%)
HSVhsv(51, 76%, 61%)
CMYKcmyk(0%, 10.9%, 75.6%, 38.8%)
CIE-LABlab(57.73, -4.89, 52.91)
CIE-LCHlch(57.73, 53.13, 95.28°)
OKLaboklab(63.39% -0.0191 0.1164)
OKLCHoklch(63.39% 0.118 99.3)
XYZxyz(23.2939, 25.6742, 5.5620)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B26 #26379C
analogous
#9C5026 #9C8B26 #729C26
triadic
#9C8B26 #269C8B #8B269C
tetradic
#9C8B26 #269C50 #26379C #9C2672
square
#9C8B26 #269C50 #26379C #9C2672
split-complementary
#9C8B26 #26729C #50269C
monochromatic
#3A330E #6B5F1A #9C8B26 #CDB732 #D9C863

Accessibility & contrast

On white

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

On black

6.13
#9C8B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B26
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B26#FFFFFF#000000##000000
##9C8B261.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998713
Deuteranopia (green-blind)
#9E8D2D
Tritanopia (blue-blind)
#A88077
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b26;
/* rgb */ color: rgb(156, 139, 38);
/* oklch */ color: oklch(63.4% 0.118 99.3);
Tailwind
colors: {
  custom: {
    50: '#bdac68',
    500: '#9c8b26',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b26;
$custom-light: #bdac68;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b26",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 51.356,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63393,
    "c": 0.11795,
    "h": 99.3
  },
  "luminance": 0.25673
}

Semantic roles & 50–950 ramp

primary
#9C8B26
secondary
#5F6DBF
accent
#5BE444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8B26

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

Preview Lab → · Contrast checker → · Palette generator →

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