#B9B045#B9B045

#B9B045 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.4% C 0.128 H 104.5°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#B9B045
RGBrgb(185, 176, 69)
HSLhsl(55, 46%, 50%)
HSVhsv(55, 63%, 73%)
CMYKcmyk(0%, 4.9%, 62.7%, 27.5%)
CIE-LABlab(70.73, -10.05, 54.27)
CIE-LCHlch(70.73, 55.19, 100.49°)
OKLaboklab(74.42% -0.032 0.1237)
OKLCHoklch(74.42% 0.128 104.5)
XYZxyz(36.6084, 41.7959, 11.7681)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B045 #454EB9
analogous
#B97645 #B9B045 #88B945
triadic
#B9B045 #45B9B0 #B045B9
tetradic
#B9B045 #45B976 #454EB9 #B94588
square
#B9B045 #45B976 #454EB9 #B94588
split-complementary
#B9B045 #4588B9 #7645B9
monochromatic
#605B24 #8C8634 #B9B045 #CAC371 #DBD69E

Accessibility & contrast

On white

2.24
#B9B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#B9B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B045
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B045#FFFFFF#000000##000000
##B9B0451.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA38
Deuteranopia (green-blind)
#C2AF4B
Tritanopia (blue-blind)
#C6A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b045;
/* rgb */ color: rgb(185, 176, 69);
/* oklch */ color: oklch(74.4% 0.128 104.5);
Tailwind
colors: {
  custom: {
    50: '#d1c77d',
    500: '#b9b045',
    950: '#000000',
  },
}
SCSS
$custom: #b9b045;
$custom-light: #d1c77d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b045",
  "rgb": {
    "r": 185,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 55.345,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74421,
    "c": 0.12774,
    "h": 104.5
  },
  "luminance": 0.41795
}

Semantic roles & 50–950 ramp

primary
#B9B045
secondary
#9397C7
accent
#5DD552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B045

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

Preview Lab → · Contrast checker → · Palette generator →

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