#B9AA3D#B9AA3D

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

Color values

HEX#B9AA3D
RGBrgb(185, 170, 61)
HSLhsl(53, 50%, 48%)
HSVhsv(53, 67%, 73%)
CMYKcmyk(0%, 8.1%, 67%, 27.5%)
CIE-LABlab(69.04, -7.41, 55.90)
CIE-LCHlch(69.04, 56.39, 97.55°)
OKLaboklab(73.06% -0.0254 0.1259)
OKLCHoklch(73.06% 0.128 101.4)
XYZxyz(35.2261, 39.4022, 10.1638)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA3D #3D4CB9
analogous
#B96C3D #B9AA3D #8AB93D
triadic
#B9AA3D #3DB9AA #AA3DB9
tetradic
#B9AA3D #3DB96C #3D4CB9 #B93D8A
square
#B9AA3D #3DB96C #3D4CB9 #B93D8A
split-complementary
#B9AA3D #3D8AB9 #6C3DB9
monochromatic
#5D551F #8B802E #B9AA3D #CDC066 #DCD395

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9AA3D#FFFFFF#000000##000000
##B9AA3D1.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)
#B9A52E
Deuteranopia (green-blind)
#BEAB43
Tritanopia (blue-blind)
#C79E94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b9aa3d;
/* rgb */ color: rgb(185, 170, 61);
/* oklch */ color: oklch(73.1% 0.128 101.4);
Tailwind
colors: {
  custom: {
    50: '#d1c378',
    500: '#b9aa3d',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa3d;
$custom-light: #d1c378;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa3d",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 52.742,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73059,
    "c": 0.12841,
    "h": 101.4
  },
  "luminance": 0.39401
}

Semantic roles & 50–950 ramp

primary
#B9AA3D
secondary
#8B92C7
accent
#5FDA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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