#9C912E#9C912E

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

Color values

HEX#9C912E
RGBrgb(156, 145, 46)
HSLhsl(54, 54%, 40%)
HSVhsv(54, 71%, 61%)
CMYKcmyk(0%, 7.1%, 70.5%, 38.8%)
CIE-LABlab(59.45, -7.74, 51.47)
CIE-LCHlch(59.45, 52.05, 98.56°)
OKLaboklab(64.78% -0.0263 0.1149)
OKLCHoklch(64.78% 0.118 102.9)
XYZxyz(24.3299, 27.5170, 6.6140)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C912E #2E399C
analogous
#9C5A2E #9C912E #709C2E
triadic
#9C912E #2E9C91 #912E9C
tetradic
#9C912E #2E9C5A #2E399C #9C2E70
square
#9C912E #2E9C5A #2E399C #9C2E70
split-complementary
#9C912E #2E709C #5A2E9C
monochromatic
#3D3912 #6D6520 #9C912E #C7B940 #D5CB70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C912E#FFFFFF#000000##000000
##9C912E1.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)
#9E8C1F
Deuteranopia (green-blind)
#A29134
Tritanopia (blue-blind)
#A8877D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9c912e;
/* rgb */ color: rgb(156, 145, 46);
/* oklch */ color: oklch(64.8% 0.118 102.9);
Tailwind
colors: {
  custom: {
    50: '#bcb06d',
    500: '#9c912e',
    950: '#000000',
  },
}
SCSS
$custom: #9c912e;
$custom-light: #bcb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c912e",
  "rgb": {
    "r": 156,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 54,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64778,
    "c": 0.11784,
    "h": 102.9
  },
  "luminance": 0.27516
}

Semantic roles & 50–950 ramp

primary
#9C912E
secondary
#6A72BC
accent
#59DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C912E

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

Preview Lab → · Contrast checker → · Palette generator →

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