#9C912D#9C912D

#9C912D is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.8% C 0.119 H 102.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9C912D
RGBrgb(156, 145, 45)
HSLhsl(54, 55%, 39%)
HSVhsv(54, 71%, 61%)
CMYKcmyk(0%, 7.1%, 71.2%, 38.8%)
CIE-LABlab(59.44, -7.80, 51.86)
CIE-LCHlch(59.44, 52.45, 98.55°)
OKLaboklab(64.77% -0.0266 0.1155)
OKLCHoklch(64.77% 0.119 102.9)
XYZxyz(24.3104, 27.5092, 6.5114)
Luminance0.2751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C912D #2D389C
analogous
#9C5A2D #9C912D #709C2D
triadic
#9C912D #2D9C91 #912D9C
tetradic
#9C912D #2D9C5A #2D389C #9C2D70
square
#9C912D #2D9C5A #2D389C #9C2D70
split-complementary
#9C912D #2D709C #5A2D9C
monochromatic
#3D3912 #6D651F #9C912D #C8BA3F #D5CB6E

Accessibility & contrast

On white

3.23
#9C912D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#9C912D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C912D
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C912D#FFFFFF#000000##000000
##9C912D1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1E
Deuteranopia (green-blind)
#A29133
Tritanopia (blue-blind)
#A8877D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9c912d;
/* rgb */ color: rgb(156, 145, 45);
/* oklch */ color: oklch(64.8% 0.119 102.9);
Tailwind
colors: {
  custom: {
    50: '#bcb06c',
    500: '#9c912d',
    950: '#000000',
  },
}
SCSS
$custom: #9c912d;
$custom-light: #bcb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c912d",
  "rgb": {
    "r": 156,
    "g": 145,
    "b": 45
  },
  "hsl": {
    "h": 54.054,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6477,
    "c": 0.11854,
    "h": 102.9
  },
  "luminance": 0.27508
}

Semantic roles & 50–950 ramp

primary
#9C912D
secondary
#6871BC
accent
#58DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C912D

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

Preview Lab → · Contrast checker → · Palette generator →

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