#B9A641#B9A641

#B9A641 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.122 H 98.6°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B9A641
RGBrgb(185, 166, 65)
HSLhsl(51, 48%, 49%)
HSVhsv(51, 65%, 73%)
CMYKcmyk(0%, 10.3%, 64.9%, 27.5%)
CIE-LABlab(68.00, -5.05, 53.09)
CIE-LCHlch(68.00, 53.33, 95.44°)
OKLaboklab(72.24% -0.0182 0.1206)
OKLCHoklch(72.24% 0.122 98.6)
XYZxyz(34.5994, 37.9700, 10.5065)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A641 #4154B9
analogous
#B96A41 #B9A641 #90B941
triadic
#B9A641 #41B9A6 #A641B9
tetradic
#B9A641 #41B96A #4154B9 #B94190
square
#B9A641 #41B96A #4154B9 #B94190
split-complementary
#B9A641 #4190B9 #6A41B9
monochromatic
#5E5521 #8C7D31 #B9A641 #CBBC6C #DBD199

Accessibility & contrast

On white

2.44
#B9A641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B9A641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A641
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A641#FFFFFF#000000##000000
##B9A6411.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A235
Deuteranopia (green-blind)
#BBA946
Tritanopia (blue-blind)
#C79A91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b9a641;
/* rgb */ color: rgb(185, 166, 65);
/* oklch */ color: oklch(72.2% 0.122 98.6);
Tailwind
colors: {
  custom: {
    50: '#d1c07a',
    500: '#b9a641',
    950: '#000000',
  },
}
SCSS
$custom: #b9a641;
$custom-light: #d1c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a641",
  "rgb": {
    "r": 185,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 50.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72242,
    "c": 0.12195,
    "h": 98.6
  },
  "luminance": 0.37968
}

Semantic roles & 50–950 ramp

primary
#B9A641
secondary
#8F98C7
accent
#66D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9A641

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

Preview Lab → · Contrast checker → · Palette generator →

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