#B9A440#B9A440

#B9A440 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.8% C 0.121 H 97.3°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B9A440
RGBrgb(185, 164, 64)
HSLhsl(50, 49%, 49%)
HSVhsv(50, 65%, 73%)
CMYKcmyk(0%, 11.4%, 65.4%, 27.5%)
CIE-LABlab(67.45, -4.05, 52.95)
CIE-LCHlch(67.45, 53.11, 94.38°)
OKLaboklab(71.81% -0.0155 0.1201)
OKLCHoklch(71.81% 0.121 97.3)
XYZxyz(34.2100, 37.2370, 10.2350)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A440 #4055B9
analogous
#B96840 #B9A440 #92B940
triadic
#B9A440 #40B9A4 #A440B9
tetradic
#B9A440 #40B968 #4055B9 #B94092
square
#B9A440 #40B968 #4055B9 #B94092
split-complementary
#B9A440 #4092B9 #6840B9
monochromatic
#5E5321 #8C7C30 #B9A440 #CCBB6B #DBD098

Accessibility & contrast

On white

2.49
#B9A440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#B9A440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A440
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A440#FFFFFF#000000##000000
##B9A4401.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A034
Deuteranopia (green-blind)
#B9A745
Tritanopia (blue-blind)
#C7988F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b9a440;
/* rgb */ color: rgb(185, 164, 64);
/* oklch */ color: oklch(71.8% 0.121 97.3);
Tailwind
colors: {
  custom: {
    50: '#d1be7a',
    500: '#b9a440',
    950: '#000000',
  },
}
SCSS
$custom: #b9a440;
$custom-light: #d1be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a440",
  "rgb": {
    "r": 185,
    "g": 164,
    "b": 64
  },
  "hsl": {
    "h": 49.587,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71808,
    "c": 0.12111,
    "h": 97.3
  },
  "luminance": 0.37235
}

Semantic roles & 50–950 ramp

primary
#B9A440
secondary
#8E98C7
accent
#67D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9A440

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

Preview Lab → · Contrast checker → · Palette generator →

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