#9C8A26#9C8A26

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

Color values

HEX#9C8A26
RGBrgb(156, 138, 38)
HSLhsl(51, 61%, 38%)
HSVhsv(51, 76%, 61%)
CMYKcmyk(0%, 11.5%, 75.6%, 38.8%)
CIE-LABlab(57.45, -4.34, 52.64)
CIE-LCHlch(57.45, 52.82, 94.71°)
OKLaboklab(63.17% -0.0175 0.1158)
OKLCHoklch(63.17% 0.117 98.6)
XYZxyz(23.1498, 25.3860, 5.5140)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A26 #26389C
analogous
#9C4F26 #9C8A26 #739C26
triadic
#9C8A26 #269C8A #8A269C
tetradic
#9C8A26 #269C4F #26389C #9C2673
square
#9C8A26 #269C4F #26389C #9C2673
split-complementary
#9C8A26 #26739C #4F269C
monochromatic
#3A330E #6B5E1A #9C8A26 #CDB532 #D9C763

Accessibility & contrast

On white

3.46
#9C8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8A26#FFFFFF#000000##000000
##9C8A261.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988614
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#A97F77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a26;
/* rgb */ color: rgb(156, 138, 38);
/* oklch */ color: oklch(63.2% 0.117 98.6);
Tailwind
colors: {
  custom: {
    50: '#bdab68',
    500: '#9c8a26',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a26;
$custom-light: #bdab68;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a26",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 50.847,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63173,
    "c": 0.11716,
    "h": 98.6
  },
  "luminance": 0.25385
}

Semantic roles & 50–950 ramp

primary
#9C8A26
secondary
#5F6EBF
accent
#5CE444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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