#9C8233#9C8233

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

Color values

HEX#9C8233
RGBrgb(156, 130, 51)
HSLhsl(45, 51%, 41%)
HSVhsv(45, 67%, 61%)
CMYKcmyk(0%, 16.7%, 67.3%, 38.8%)
CIE-LABlab(55.35, 0.79, 45.06)
CIE-LCHlch(55.35, 45.07, 89.00°)
OKLaboklab(61.55% -0.0013 0.1022)
OKLCHoklch(61.55% 0.102 90.7)
XYZxyz(22.2916, 23.2735, 6.4494)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8233 #334D9C
analogous
#9C4D33 #9C8233 #819C33
triadic
#9C8233 #339C82 #82339C
tetradic
#9C8233 #339C4D #334D9C #9C3381
square
#9C8233 #339C4D #334D9C #9C3381
split-complementary
#9C8233 #33819C #4D339C
monochromatic
#403515 #6E5C24 #9C8233 #C3A549 #D3BC77

Accessibility & contrast

On white

3.71
#9C8233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8233#FFFFFF#000000##000000
##9C82331.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802A
Deuteranopia (green-blind)
#968837
Tritanopia (blue-blind)
#A97871
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c8233;
/* rgb */ color: rgb(156, 130, 51);
/* oklch */ color: oklch(61.5% 0.102 90.7);
Tailwind
colors: {
  custom: {
    50: '#bca66f',
    500: '#9c8233',
    950: '#000000',
  },
}
SCSS
$custom: #9c8233;
$custom-light: #bca66f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8233",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 45.143,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61547,
    "c": 0.1022,
    "h": 90.7
  },
  "luminance": 0.23272
}

Semantic roles & 50–950 ramp

primary
#9C8233
secondary
#7082BB
accent
#70DA4E
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C8233

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

Preview Lab → · Contrast checker → · Palette generator →

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