#9C852F#9C852F

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

Color values

HEX#9C852F
RGBrgb(156, 133, 47)
HSLhsl(47, 54%, 40%)
HSVhsv(47, 70%, 61%)
CMYKcmyk(0%, 14.7%, 69.9%, 38.8%)
CIE-LABlab(56.14, -1.12, 47.68)
CIE-LCHlch(56.14, 47.69, 91.35°)
OKLaboklab(62.16% -0.0073 0.1071)
OKLCHoklch(62.16% 0.107 93.9)
XYZxyz(22.6121, 24.0494, 6.1398)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C852F #2F469C
analogous
#9C4E2F #9C852F #7D9C2F
triadic
#9C852F #2F9C85 #852F9C
tetradic
#9C852F #2F9C4E #2F469C #9C2F7D
square
#9C852F #2F9C4E #2F469C #9C2F7D
split-complementary
#9C852F #2F7D9C #4E2F9C
monochromatic
#3E3513 #6D5D21 #9C852F #C6AA42 #D4BF71

Accessibility & contrast

On white

3.61
#9C852F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C852F#FFFFFF#000000##000000
##9C852F1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938324
Deuteranopia (green-blind)
#998A33
Tritanopia (blue-blind)
#A97B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9c852f;
/* rgb */ color: rgb(156, 133, 47);
/* oklch */ color: oklch(62.2% 0.107 93.9);
Tailwind
colors: {
  custom: {
    50: '#bca86c',
    500: '#9c852f',
    950: '#000000',
  },
}
SCSS
$custom: #9c852f;
$custom-light: #bca86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c852f",
  "rgb": {
    "r": 156,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 47.339,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62155,
    "c": 0.1073,
    "h": 93.9
  },
  "luminance": 0.24048
}

Semantic roles & 50–950 ramp

primary
#9C852F
secondary
#6B7CBC
accent
#6ADD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C852F

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

Preview Lab → · Contrast checker → · Palette generator →

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