#B9AA40#B9AA40

#B9AA40 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.1% C 0.126 H 101.2°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B9AA40
RGBrgb(185, 170, 64)
HSLhsl(53, 49%, 49%)
HSVhsv(53, 65%, 73%)
CMYKcmyk(0%, 8.1%, 65.4%, 27.5%)
CIE-LABlab(69.07, -7.23, 54.66)
CIE-LCHlch(69.07, 55.13, 97.53°)
OKLaboklab(73.08% -0.0245 0.1237)
OKLCHoklch(73.08% 0.126 101.2)
XYZxyz(35.3092, 39.4354, 10.6014)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA40 #404FB9
analogous
#B96E40 #B9AA40 #8CB940
triadic
#B9AA40 #40B9AA #AA40B9
tetradic
#B9AA40 #40B96E #404FB9 #B9408C
square
#B9AA40 #40B96E #404FB9 #B9408C
split-complementary
#B9AA40 #408CB9 #6E40B9
monochromatic
#5E5621 #8C8030 #B9AA40 #CCC06B #DBD398

Accessibility & contrast

On white

2.36
#B9AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#B9AA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AA40
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AA40#FFFFFF#000000##000000
##B9AA401.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#BEAB46
Tritanopia (blue-blind)
#C79E94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b9aa40;
/* rgb */ color: rgb(185, 170, 64);
/* oklch */ color: oklch(73.1% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#d1c37a',
    500: '#b9aa40',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa40;
$custom-light: #d1c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa40",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 52.562,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73085,
    "c": 0.12614,
    "h": 101.2
  },
  "luminance": 0.39434
}

Semantic roles & 50–950 ramp

primary
#B9AA40
secondary
#8E95C7
accent
#61D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AA40

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

Preview Lab → · Contrast checker → · Palette generator →

#B9AA40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva