#9C8231#9C8231

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

Color values

HEX#9C8231
RGBrgb(156, 130, 49)
HSLhsl(45, 52%, 40%)
HSVhsv(45, 69%, 61%)
CMYKcmyk(0%, 16.7%, 68.6%, 38.8%)
CIE-LABlab(55.34, 0.67, 45.96)
CIE-LCHlch(55.34, 45.96, 89.17°)
OKLaboklab(61.53% -0.0019 0.1038)
OKLCHoklch(61.53% 0.104 91.1)
XYZxyz(22.2485, 23.2562, 6.2222)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8231 #314B9C
analogous
#9C4D31 #9C8231 #809C31
triadic
#9C8231 #319C82 #82319C
tetradic
#9C8231 #319C4D #314B9C #9C3180
square
#9C8231 #319C4D #314B9C #9C3180
split-complementary
#9C8231 #31809C #4D319C
monochromatic
#3F3414 #6D5B22 #9C8231 #C5A645 #D3BC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8231#FFFFFF#000000##000000
##9C82311.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)
#908027
Deuteranopia (green-blind)
#978835
Tritanopia (blue-blind)
#A97871
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c8231;
/* rgb */ color: rgb(156, 130, 49);
/* oklch */ color: oklch(61.5% 0.104 91.1);
Tailwind
colors: {
  custom: {
    50: '#bca66d',
    500: '#9c8231',
    950: '#000000',
  },
}
SCSS
$custom: #9c8231;
$custom-light: #bca66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8231",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 45.421,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61527,
    "c": 0.10378,
    "h": 91.1
  },
  "luminance": 0.23255
}

Semantic roles & 50–950 ramp

primary
#9C8231
secondary
#6D80BB
accent
#6FDC4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C8231

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

Preview Lab → · Contrast checker → · Palette generator →

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