#9C8223#9C8223

#9C8223 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.113 H 92.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9C8223
RGBrgb(156, 130, 35)
HSLhsl(47, 63%, 37%)
HSVhsv(47, 78%, 61%)
CMYKcmyk(0%, 16.7%, 77.6%, 38.8%)
CIE-LABlab(55.23, -0.05, 51.67)
CIE-LCHlch(55.23, 51.67, 90.06°)
OKLaboklab(61.41% -0.0057 0.1132)
OKLCHoklch(61.41% 0.113 92.9)
XYZxyz(21.9975, 23.1558, 4.9007)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8223 #233D9C
analogous
#9C4523 #9C8223 #7A9C23
triadic
#9C8223 #239C82 #82239C
tetradic
#9C8223 #239C45 #233D9C #9C237A
square
#9C8223 #239C45 #233D9C #9C237A
split-complementary
#9C8223 #237A9C #45239C
monochromatic
#382F0D #6A5818 #9C8223 #CEAC2E #DBC05E

Accessibility & contrast

On white

3.73
#9C8223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#9C8223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8223
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8223#FFFFFF#000000##000000
##9C82231.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#A97770
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c8223;
/* rgb */ color: rgb(156, 130, 35);
/* oklch */ color: oklch(61.4% 0.113 92.9);
Tailwind
colors: {
  custom: {
    50: '#bda566',
    500: '#9c8223',
    950: '#000000',
  },
}
SCSS
$custom: #9c8223;
$custom-light: #bda566;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8223",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 47.107,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61413,
    "c": 0.11329,
    "h": 92.9
  },
  "luminance": 0.23155
}

Semantic roles & 50–950 ramp

primary
#9C8223
secondary
#5B71C0
accent
#65E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8223

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

Preview Lab → · Contrast checker → · Palette generator →

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