#9A911F#9A911F

#9A911F is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.5% C 0.127 H 104.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9A911F
RGBrgb(154, 145, 31)
HSLhsl(56, 66%, 36%)
HSVhsv(56, 80%, 60%)
CMYKcmyk(0%, 5.8%, 79.9%, 39.6%)
CIE-LABlab(59.18, -9.34, 56.58)
CIE-LCHlch(59.18, 57.35, 99.37°)
OKLaboklab(64.49% -0.0322 0.1229)
OKLCHoklch(64.49% 0.127 104.7)
XYZxyz(23.7002, 27.2207, 5.3018)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A911F #1F289A
analogous
#9A541F #9A911F #669A1F
triadic
#9A911F #1F9A91 #911F9A
tetradic
#9A911F #1F9A54 #1F289A #9A1F66
square
#9A911F #1F9A54 #1F289A #9A1F66
split-complementary
#9A911F #1F669A #541F9A
monochromatic
#34310A #676115 #9A911F #CDC129 #DDD356

Accessibility & contrast

On white

3.26
#9A911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#9A911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A911F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A911F#FFFFFF#000000##000000
##9A911F1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A29128
Tritanopia (blue-blind)
#A6867C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9a911f;
/* rgb */ color: rgb(154, 145, 31);
/* oklch */ color: oklch(64.5% 0.127 104.7);
Tailwind
colors: {
  custom: {
    50: '#bcb066',
    500: '#9a911f',
    950: '#000000',
  },
}
SCSS
$custom: #9a911f;
$custom-light: #bcb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9a911f",
  "rgb": {
    "r": 154,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 55.61,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6449,
    "c": 0.12707,
    "h": 104.7
  },
  "luminance": 0.2722
}

Semantic roles & 50–950 ramp

primary
#9A911F
secondary
#545CC1
accent
#4BE93E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A911F

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

Preview Lab → · Contrast checker → · Palette generator →

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