#9B912E#9B912E

#9B912E is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.7% C 0.118 H 103.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9B912E
RGBrgb(155, 145, 46)
HSLhsl(54, 54%, 39%)
HSVhsv(54, 70%, 61%)
CMYKcmyk(0%, 6.5%, 70.3%, 39.2%)
CIE-LABlab(59.36, -8.19, 51.35)
CIE-LCHlch(59.36, 51.99, 99.07°)
OKLaboklab(64.68% -0.0275 0.1147)
OKLCHoklch(64.68% 0.118 103.5)
XYZxyz(24.1371, 27.4176, 6.6049)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B912E #2E389B
analogous
#9B5A2E #9B912E #6F9B2E
triadic
#9B912E #2E9B91 #912E9B
tetradic
#9B912E #2E9B5A #2E389B #9B2E6F
square
#9B912E #2E9B5A #2E389B #9B2E6F
split-complementary
#9B912E #2E6F9B #5A2E9B
monochromatic
#3D3912 #6C6520 #9B912E #C6BA40 #D4CB6F

Accessibility & contrast

On white

3.24
#9B912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#9B912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B912E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B912E#FFFFFF#000000##000000
##9B912E1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1F
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#A7877D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9b912e;
/* rgb */ color: rgb(155, 145, 46);
/* oklch */ color: oklch(64.7% 0.118 103.5);
Tailwind
colors: {
  custom: {
    50: '#bcb06d',
    500: '#9b912e',
    950: '#000000',
  },
}
SCSS
$custom: #9b912e;
$custom-light: #bcb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b912e",
  "rgb": {
    "r": 155,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 54.495,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64684,
    "c": 0.1179,
    "h": 103.5
  },
  "luminance": 0.27417
}

Semantic roles & 50–950 ramp

primary
#9B912E
secondary
#6971BC
accent
#58DE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B912E

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

Preview Lab → · Contrast checker → · Palette generator →

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