#B9A645#B9A645

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

Color values

HEX#B9A645
RGBrgb(185, 166, 69)
HSLhsl(50, 46%, 50%)
HSVhsv(50, 63%, 73%)
CMYKcmyk(0%, 10.3%, 62.7%, 27.5%)
CIE-LABlab(68.03, -4.79, 51.35)
CIE-LCHlch(68.03, 51.57, 95.33°)
OKLaboklab(72.28% -0.017 0.1175)
OKLCHoklch(72.28% 0.119 98.2)
XYZxyz(34.7194, 38.0180, 11.1385)
Luminance0.3802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A645 #4558B9
analogous
#B96C45 #B9A645 #92B945
triadic
#B9A645 #45B9A6 #A645B9
tetradic
#B9A645 #45B96C #4558B9 #B94592
square
#B9A645 #45B96C #4558B9 #B94592
split-complementary
#B9A645 #4592B9 #6C45B9
monochromatic
#605624 #8C7E34 #B9A645 #CABC71 #DBD19E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9A645#FFFFFF#000000##000000
##B9A6451.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)
#B5A23A
Deuteranopia (green-blind)
#BAA94A
Tritanopia (blue-blind)
#C79B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b9a645;
/* rgb */ color: rgb(185, 166, 69);
/* oklch */ color: oklch(72.3% 0.119 98.2);
Tailwind
colors: {
  custom: {
    50: '#d1c07d',
    500: '#b9a645',
    950: '#000000',
  },
}
SCSS
$custom: #b9a645;
$custom-light: #d1c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a645",
  "rgb": {
    "r": 185,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 50.172,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72281,
    "c": 0.11869,
    "h": 98.2
  },
  "luminance": 0.38016
}

Semantic roles & 50–950 ramp

primary
#B9A645
secondary
#939BC7
accent
#68D552
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B9A645

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

Preview Lab → · Contrast checker → · Palette generator →

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