#9A941F#9A941F

#9A941F is a light, vivid yellow. Relative luminance 0.281; OKLCH L 65.2% C 0.130 H 106.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9A941F
RGBrgb(154, 148, 31)
HSLhsl(57, 66%, 36%)
HSVhsv(57, 80%, 60%)
CMYKcmyk(0%, 3.9%, 79.9%, 39.6%)
CIE-LABlab(60.02, -10.94, 57.34)
CIE-LCHlch(60.02, 58.37, 100.80°)
OKLaboklab(65.16% -0.0366 0.1246)
OKLCHoklch(65.16% 0.13 106.4)
XYZxyz(24.1647, 28.1497, 5.4566)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A941F #1F259A
analogous
#9A571F #9A941F #639A1F
triadic
#9A941F #1F9A94 #941F9A
tetradic
#9A941F #1F9A57 #1F259A #9A1F63
square
#9A941F #1F9A57 #1F259A #9A1F63
split-complementary
#9A941F #1F639A #571F9A
monochromatic
#34320A #676315 #9A941F #CDC529 #DDD656

Accessibility & contrast

On white

3.17
#9A941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#9A941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A941F
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A941F#FFFFFF#000000##000000
##9A941F1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A49329
Tritanopia (blue-blind)
#A68A7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9a941f;
/* rgb */ color: rgb(154, 148, 31);
/* oklch */ color: oklch(65.2% 0.130 106.4);
Tailwind
colors: {
  custom: {
    50: '#bbb366',
    500: '#9a941f',
    950: '#000000',
  },
}
SCSS
$custom: #9a941f;
$custom-light: #bbb366;
$custom-dark: #000000;
JSON
{
  "hex": "#9a941f",
  "rgb": {
    "r": 154,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 57.073,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65163,
    "c": 0.12983,
    "h": 106.4
  },
  "luminance": 0.28149
}

Semantic roles & 50–950 ramp

primary
#9A941F
secondary
#5459C1
accent
#47E93E
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A941F

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

Preview Lab → · Contrast checker → · Palette generator →

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