#9C8022#9C8022

#9C8022 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 61.0% C 0.113 H 91.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9C8022
RGBrgb(156, 128, 34)
HSLhsl(46, 64%, 37%)
HSVhsv(46, 78%, 61%)
CMYKcmyk(0%, 17.9%, 78.2%, 38.8%)
CIE-LABlab(54.68, 1.02, 51.53)
CIE-LCHlch(54.68, 51.54, 88.86°)
OKLaboklab(60.98% -0.0027 0.1126)
OKLCHoklch(60.98% 0.113 91.4)
XYZxyz(21.7195, 22.6231, 4.7358)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8022 #223E9C
analogous
#9C4322 #9C8022 #7B9C22
triadic
#9C8022 #229C80 #80229C
tetradic
#9C8022 #229C43 #223E9C #9C227B
square
#9C8022 #229C43 #223E9C #9C227B
split-complementary
#9C8022 #227B9C #43229C
monochromatic
#382E0C #6A5717 #9C8022 #CEA92D #DCBF5D

Accessibility & contrast

On white

3.80
#9C8022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9C8022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8022
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8022#FFFFFF#000000##000000
##9C80221.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#A9756E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c8022;
/* rgb */ color: rgb(156, 128, 34);
/* oklch */ color: oklch(61.0% 0.113 91.4);
Tailwind
colors: {
  custom: {
    50: '#bda465',
    500: '#9c8022',
    950: '#000000',
  },
}
SCSS
$custom: #9c8022;
$custom-light: #bda465;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8022",
  "rgb": {
    "r": 156,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 46.23,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.11267,
    "h": 91.4
  },
  "luminance": 0.22622
}

Semantic roles & 50–950 ramp

primary
#9C8022
secondary
#5A71C0
accent
#67E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8022

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

Preview Lab → · Contrast checker → · Palette generator →

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