#9C852D#9C852D

#9C852D is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.109 H 94.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9C852D
RGBrgb(156, 133, 45)
HSLhsl(48, 55%, 39%)
HSVhsv(48, 71%, 61%)
CMYKcmyk(0%, 14.7%, 71.2%, 38.8%)
CIE-LABlab(56.12, -1.23, 48.53)
CIE-LCHlch(56.12, 48.54, 91.46°)
OKLaboklab(62.14% -0.0079 0.1085)
OKLCHoklch(62.14% 0.109 94.2)
XYZxyz(22.5726, 24.0337, 5.9321)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C852D #2D449C
analogous
#9C4E2D #9C852D #7B9C2D
triadic
#9C852D #2D9C85 #852D9C
tetradic
#9C852D #2D9C4E #2D449C #9C2D7B
square
#9C852D #2D9C4E #2D449C #9C2D7B
split-complementary
#9C852D #2D7B9C #4E2D9C
monochromatic
#3D3412 #6D5D1F #9C852D #C8AB3F #D5C06E

Accessibility & contrast

On white

3.62
#9C852D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9C852D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C852D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C852D#FFFFFF#000000##000000
##9C852D1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938321
Deuteranopia (green-blind)
#998932
Tritanopia (blue-blind)
#A97A73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c852d;
/* rgb */ color: rgb(156, 133, 45);
/* oklch */ color: oklch(62.1% 0.109 94.2);
Tailwind
colors: {
  custom: {
    50: '#bda86b',
    500: '#9c852d',
    950: '#000000',
  },
}
SCSS
$custom: #9c852d;
$custom-light: #bda86b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c852d",
  "rgb": {
    "r": 156,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 47.568,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62137,
    "c": 0.10877,
    "h": 94.2
  },
  "luminance": 0.24032
}

Semantic roles & 50–950 ramp

primary
#9C852D
secondary
#687ABC
accent
#68DF49
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C852D

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

Preview Lab → · Contrast checker → · Palette generator →

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