#B9A950#B9A950

#B9A950 is a light, moderate yellow. Relative luminance 0.393; OKLCH L 73.0% C 0.112 H 99.3°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#B9A950
RGBrgb(185, 169, 80)
HSLhsl(51, 43%, 52%)
HSVhsv(51, 57%, 73%)
CMYKcmyk(0%, 8.6%, 56.8%, 27.5%)
CIE-LABlab(68.95, -5.58, 47.25)
CIE-LCHlch(68.95, 47.58, 96.74°)
OKLaboklab(73.04% -0.018 0.1101)
OKLCHoklch(73.04% 0.112 99.3)
XYZxyz(35.6448, 39.2708, 13.2903)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A950 #5060B9
analogous
#B97550 #B9A950 #95B950
triadic
#B9A950 #50B9A9 #A950B9
tetradic
#B9A950 #50B975 #5060B9 #B95095
square
#B9A950 #50B975 #5060B9 #B95095
split-complementary
#B9A950 #5095B9 #7550B9
monochromatic
#665D29 #92843A #B9A950 #CABE7C #DCD4A7

Accessibility & contrast

On white

2.37
#B9A950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#B9A950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A950
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A950#FFFFFF#000000##000000
##B9A9501.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A547
Deuteranopia (green-blind)
#BCAB54
Tritanopia (blue-blind)
#C69E95
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b9a950;
/* rgb */ color: rgb(185, 169, 80);
/* oklch */ color: oklch(73.0% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#d0c284',
    500: '#b9a950',
    950: '#000000',
  },
}
SCSS
$custom: #b9a950;
$custom-light: #d0c284;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a950",
  "rgb": {
    "r": 185,
    "g": 169,
    "b": 80
  },
  "hsl": {
    "h": 50.857,
    "s": 42.857,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7304,
    "c": 0.11157,
    "h": 99.3
  },
  "luminance": 0.39269
}

Semantic roles & 50–950 ramp

primary
#B9A950
secondary
#9BA2C9
accent
#68D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B9A950

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

Preview Lab → · Contrast checker → · Palette generator →

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