#9C832F#9C832F

#9C832F is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.7% C 0.106 H 92.2°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9C832F
RGBrgb(156, 131, 47)
HSLhsl(46, 54%, 40%)
HSVhsv(46, 70%, 61%)
CMYKcmyk(0%, 16%, 69.9%, 38.8%)
CIE-LABlab(55.59, -0.01, 47.12)
CIE-LCHlch(55.59, 47.12, 90.01°)
OKLaboklab(61.72% -0.0041 0.1059)
OKLCHoklch(61.72% 0.106 92.2)
XYZxyz(22.3408, 23.5070, 6.0493)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C832F #2F489C
analogous
#9C4D2F #9C832F #7E9C2F
triadic
#9C832F #2F9C83 #832F9C
tetradic
#9C832F #2F9C4D #2F489C #9C2F7E
square
#9C832F #2F9C4D #2F489C #9C2F7E
split-complementary
#9C832F #2F7E9C #4D2F9C
monochromatic
#3E3413 #6D5C21 #9C832F #C6A842 #D4BE71

Accessibility & contrast

On white

3.68
#9C832F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#9C832F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C832F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C832F#FFFFFF#000000##000000
##9C832F1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#A97872
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c832f;
/* rgb */ color: rgb(156, 131, 47);
/* oklch */ color: oklch(61.7% 0.106 92.2);
Tailwind
colors: {
  custom: {
    50: '#bda66c',
    500: '#9c832f',
    950: '#000000',
  },
}
SCSS
$custom: #9c832f;
$custom-light: #bda66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c832f",
  "rgb": {
    "r": 156,
    "g": 131,
    "b": 47
  },
  "hsl": {
    "h": 46.239,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61723,
    "c": 0.10594,
    "h": 92.2
  },
  "luminance": 0.23506
}

Semantic roles & 50–950 ramp

primary
#9C832F
secondary
#6B7EBC
accent
#6CDD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C832F

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

Preview Lab → · Contrast checker → · Palette generator →

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