#B9AA3F#B9AA3F

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

Color values

HEX#B9AA3F
RGBrgb(185, 170, 63)
HSLhsl(53, 49%, 49%)
HSVhsv(53, 66%, 73%)
CMYKcmyk(0%, 8.1%, 65.9%, 27.5%)
CIE-LABlab(69.06, -7.29, 55.07)
CIE-LCHlch(69.06, 55.55, 97.54°)
OKLaboklab(73.08% -0.0248 0.1245)
OKLCHoklch(73.08% 0.127 101.3)
XYZxyz(35.2810, 39.4241, 10.4529)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA3F #3F4EB9
analogous
#B96D3F #B9AA3F #8BB93F
triadic
#B9AA3F #3FB9AA #AA3FB9
tetradic
#B9AA3F #3FB96D #3F4EB9 #B93F8B
square
#B9AA3F #3FB96D #3F4EB9 #B93F8B
split-complementary
#B9AA3F #3F8BB9 #6D3FB9
monochromatic
#5E5620 #8B802F #B9AA3F #CCC069 #DCD397

Accessibility & contrast

On white

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

On black

8.88
#B9AA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AA3F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AA3F#FFFFFF#000000##000000
##B9AA3F1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9aa3f;
/* rgb */ color: rgb(185, 170, 63);
/* oklch */ color: oklch(73.1% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#d1c379',
    500: '#b9aa3f',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa3f;
$custom-light: #d1c379;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa3f",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 52.623,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73076,
    "c": 0.12691,
    "h": 101.3
  },
  "luminance": 0.39423
}

Semantic roles & 50–950 ramp

primary
#B9AA3F
secondary
#8D94C7
accent
#60D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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