#9A912E#9A912E

#9A912E is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.6% C 0.118 H 104.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9A912E
RGBrgb(154, 145, 46)
HSLhsl(55, 54%, 39%)
HSVhsv(55, 70%, 60%)
CMYKcmyk(0%, 5.8%, 70.1%, 39.6%)
CIE-LABlab(59.27, -8.64, 51.22)
CIE-LCHlch(59.27, 51.95, 99.58°)
OKLaboklab(64.59% -0.0287 0.1144)
OKLCHoklch(64.59% 0.118 104.1)
XYZxyz(23.9459, 27.3190, 6.5960)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A912E #2E379A
analogous
#9A5B2E #9A912E #6D9A2E
triadic
#9A912E #2E9A91 #912E9A
tetradic
#9A912E #2E9A5B #2E379A #9A2E6D
square
#9A912E #2E9A5B #2E379A #9A2E6D
split-complementary
#9A912E #2E6D9A #5B2E9A
monochromatic
#3C3812 #6B6520 #9A912E #C6BB3F #D4CB6F

Accessibility & contrast

On white

3.25
#9A912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#9A912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A912E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A912E#FFFFFF#000000##000000
##9A912E1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a912e;
/* rgb */ color: rgb(154, 145, 46);
/* oklch */ color: oklch(64.6% 0.118 104.1);
Tailwind
colors: {
  custom: {
    50: '#bbb16d',
    500: '#9a912e',
    950: '#000000',
  },
}
SCSS
$custom: #9a912e;
$custom-light: #bbb16d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a912e",
  "rgb": {
    "r": 154,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 55,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6459,
    "c": 0.11798,
    "h": 104.1
  },
  "luminance": 0.27318
}

Semantic roles & 50–950 ramp

primary
#9A912E
secondary
#6970BB
accent
#57DD4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A912E

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

Preview Lab → · Contrast checker → · Palette generator →

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