#B9B249#B9B249

#B9B249 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.9% C 0.126 H 105.5°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#B9B249
RGBrgb(185, 178, 73)
HSLhsl(56, 44%, 51%)
HSVhsv(56, 61%, 73%)
CMYKcmyk(0%, 3.8%, 60.5%, 27.5%)
CIE-LABlab(71.31, -10.81, 53.13)
CIE-LCHlch(71.31, 54.22, 101.50°)
OKLaboklab(74.89% -0.0337 0.1218)
OKLCHoklch(74.89% 0.126 105.5)
XYZxyz(37.1318, 42.6374, 12.5759)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B249 #4950B9
analogous
#B97A49 #B9B249 #88B949
triadic
#B9B249 #49B9B2 #B249B9
tetradic
#B9B249 #49B97A #4950B9 #B94988
square
#B9B249 #49B97A #4950B9 #B94988
split-complementary
#B9B249 #4988B9 #7A49B9
monochromatic
#625E26 #8E8937 #B9B249 #CAC575 #DBD7A1

Accessibility & contrast

On white

2.20
#B9B249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#B9B249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B249
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B249#FFFFFF#000000##000000
##B9B2491.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3D
Deuteranopia (green-blind)
#C3B14F
Tritanopia (blue-blind)
#C6A79C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b249;
/* rgb */ color: rgb(185, 178, 73);
/* oklch */ color: oklch(74.9% 0.126 105.5);
Tailwind
colors: {
  custom: {
    50: '#d1c880',
    500: '#b9b249',
    950: '#000000',
  },
}
SCSS
$custom: #b9b249;
$custom-light: #d1c880;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b249",
  "rgb": {
    "r": 185,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 56.25,
    "s": 44.444,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74893,
    "c": 0.1264,
    "h": 105.5
  },
  "luminance": 0.42636
}

Semantic roles & 50–950 ramp

primary
#B9B249
secondary
#9699C8
accent
#5CD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B249

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

Preview Lab → · Contrast checker → · Palette generator →

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