#9C8232#9C8232

#9C8232 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.103 H 90.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9C8232
RGBrgb(156, 130, 50)
HSLhsl(45, 51%, 40%)
HSVhsv(45, 68%, 61%)
CMYKcmyk(0%, 16.7%, 67.9%, 38.8%)
CIE-LABlab(55.34, 0.73, 45.51)
CIE-LCHlch(55.34, 45.52, 89.08°)
OKLaboklab(61.54% -0.0016 0.103)
OKLCHoklch(61.54% 0.103 90.9)
XYZxyz(22.2698, 23.2647, 6.3346)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8232 #324C9C
analogous
#9C4D32 #9C8232 #819C32
triadic
#9C8232 #329C82 #82329C
tetradic
#9C8232 #329C4D #324C9C #9C3281
square
#9C8232 #329C4D #324C9C #9C3281
split-complementary
#9C8232 #32819C #4D329C
monochromatic
#3F3514 #6E5B23 #9C8232 #C4A547 #D3BC75

Accessibility & contrast

On white

3.72
#9C8232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#9C8232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8232
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8232#FFFFFF#000000##000000
##9C82321.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#968836
Tritanopia (blue-blind)
#A97871
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c8232;
/* rgb */ color: rgb(156, 130, 50);
/* oklch */ color: oklch(61.5% 0.103 90.9);
Tailwind
colors: {
  custom: {
    50: '#bca66e',
    500: '#9c8232',
    950: '#000000',
  },
}
SCSS
$custom: #9c8232;
$custom-light: #bca66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8232",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 45.283,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61537,
    "c": 0.10299,
    "h": 90.9
  },
  "luminance": 0.23263
}

Semantic roles & 50–950 ramp

primary
#9C8232
secondary
#6F81BB
accent
#70DB4D
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C8232

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

Preview Lab → · Contrast checker → · Palette generator →

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