#9C8628#9C8628

#9C8628 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.113 H 95.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9C8628
RGBrgb(156, 134, 40)
HSLhsl(49, 59%, 38%)
HSVhsv(49, 74%, 61%)
CMYKcmyk(0%, 14.1%, 74.4%, 38.8%)
CIE-LABlab(56.36, -2.04, 50.82)
CIE-LCHlch(56.36, 50.86, 92.30°)
OKLaboklab(62.31% -0.0108 0.1124)
OKLCHoklch(62.31% 0.113 95.5)
XYZxyz(22.6196, 24.2725, 5.5007)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8628 #283E9C
analogous
#9C4C28 #9C8628 #789C28
triadic
#9C8628 #289C86 #86289C
tetradic
#9C8628 #289C4C #283E9C #9C2878
square
#9C8628 #289C4C #283E9C #9C2878
split-complementary
#9C8628 #28789C #4C289C
monochromatic
#3B320F #6B5C1C #9C8628 #CBAF36 #D8C267

Accessibility & contrast

On white

3.59
#9C8628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#9C8628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8628
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8628#FFFFFF#000000##000000
##9C86281.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948319
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#A97B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9c8628;
/* rgb */ color: rgb(156, 134, 40);
/* oklch */ color: oklch(62.3% 0.113 95.5);
Tailwind
colors: {
  custom: {
    50: '#bda869',
    500: '#9c8628',
    950: '#000000',
  },
}
SCSS
$custom: #9c8628;
$custom-light: #bda869;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8628",
  "rgb": {
    "r": 156,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 48.621,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62314,
    "c": 0.1129,
    "h": 95.5
  },
  "luminance": 0.24271
}

Semantic roles & 50–950 ramp

primary
#9C8628
secondary
#6273BE
accent
#63E245
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9C8628

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

Preview Lab → · Contrast checker → · Palette generator →

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