#9C8A34#9C8A34

#9C8A34 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.107 H 97.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9C8A34
RGBrgb(156, 138, 52)
HSLhsl(50, 50%, 41%)
HSVhsv(50, 67%, 61%)
CMYKcmyk(0%, 11.5%, 66.7%, 38.8%)
CIE-LABlab(57.55, -3.58, 46.94)
CIE-LCHlch(57.55, 47.08, 94.36°)
OKLaboklab(63.29% -0.0137 0.1064)
OKLCHoklch(63.29% 0.107 97.4)
XYZxyz(23.4197, 25.4939, 6.9354)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A34 #34469C
analogous
#9C5634 #9C8A34 #7A9C34
triadic
#9C8A34 #349C8A #8A349C
tetradic
#9C8A34 #349C56 #34469C #9C347A
square
#9C8A34 #349C56 #34469C #9C347A
split-complementary
#9C8A34 #347A9C #56349C
monochromatic
#403915 #6E6125 #9C8A34 #C3AE4A #D2C378

Accessibility & contrast

On white

3.44
#9C8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9C8A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A34
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A34#FFFFFF#000000##000000
##9C8A341.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978729
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#A88078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a34;
/* rgb */ color: rgb(156, 138, 52);
/* oklch */ color: oklch(63.3% 0.107 97.4);
Tailwind
colors: {
  custom: {
    50: '#bcab70',
    500: '#9c8a34',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a34;
$custom-light: #bcab70;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a34",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 49.615,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63289,
    "c": 0.10723,
    "h": 97.4
  },
  "luminance": 0.25493
}

Semantic roles & 50–950 ramp

primary
#9C8A34
secondary
#717EBB
accent
#66DA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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