#B9A643#B9A643

#B9A643 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.120 H 98.4°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B9A643
RGBrgb(185, 166, 67)
HSLhsl(50, 47%, 49%)
HSVhsv(50, 64%, 73%)
CMYKcmyk(0%, 10.3%, 63.8%, 27.5%)
CIE-LABlab(68.02, -4.92, 52.23)
CIE-LCHlch(68.02, 52.46, 95.39°)
OKLaboklab(72.26% -0.0176 0.119)
OKLCHoklch(72.26% 0.12 98.4)
XYZxyz(34.6584, 37.9935, 10.8170)
Luminance0.3799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A643 #4356B9
analogous
#B96B43 #B9A643 #91B943
triadic
#B9A643 #43B9A6 #A643B9
tetradic
#B9A643 #43B96B #4356B9 #B94391
square
#B9A643 #43B96B #4356B9 #B94391
split-complementary
#B9A643 #4391B9 #6B43B9
monochromatic
#5F5522 #8C7E33 #B9A643 #CBBC6F #DBD19B

Accessibility & contrast

On white

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

On black

8.60
#B9A643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A643
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A643#FFFFFF#000000##000000
##B9A6431.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9a643;
/* rgb */ color: rgb(185, 166, 67);
/* oklch */ color: oklch(72.3% 0.120 98.4);
Tailwind
colors: {
  custom: {
    50: '#d1c07c',
    500: '#b9a643',
    950: '#000000',
  },
}
SCSS
$custom: #b9a643;
$custom-light: #d1c07c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a643",
  "rgb": {
    "r": 185,
    "g": 166,
    "b": 67
  },
  "hsl": {
    "h": 50.339,
    "s": 46.825,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72261,
    "c": 0.12034,
    "h": 98.4
  },
  "luminance": 0.37992
}

Semantic roles & 50–950 ramp

primary
#B9A643
secondary
#9199C7
accent
#67D651
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B9A643

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

Preview Lab → · Contrast checker → · Palette generator →

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