#B9B145#B9B145

#B9B145 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.6% C 0.129 H 105.1°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#B9B145
RGBrgb(185, 177, 69)
HSLhsl(56, 46%, 50%)
HSVhsv(56, 63%, 73%)
CMYKcmyk(0%, 4.3%, 62.7%, 27.5%)
CIE-LABlab(71.00, -10.57, 54.56)
CIE-LCHlch(71.00, 55.57, 100.96°)
OKLaboklab(74.64% -0.0335 0.1243)
OKLCHoklch(74.64% 0.129 105.1)
XYZxyz(36.8052, 42.1895, 11.8337)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B145 #454DB9
analogous
#B97745 #B9B145 #87B945
triadic
#B9B145 #45B9B1 #B145B9
tetradic
#B9B145 #45B977 #454DB9 #B94587
square
#B9B145 #45B977 #454DB9 #B94587
split-complementary
#B9B145 #4587B9 #7745B9
monochromatic
#605C24 #8C8634 #B9B145 #CAC471 #DBD69E

Accessibility & contrast

On white

2.23
#B9B145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#B9B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B145
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B145#FFFFFF#000000##000000
##B9B1451.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB38
Deuteranopia (green-blind)
#C3B04B
Tritanopia (blue-blind)
#C6A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b145;
/* rgb */ color: rgb(185, 177, 69);
/* oklch */ color: oklch(74.6% 0.129 105.1);
Tailwind
colors: {
  custom: {
    50: '#d1c87e',
    500: '#b9b145',
    950: '#000000',
  },
}
SCSS
$custom: #b9b145;
$custom-light: #d1c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b145",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 55.862,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74637,
    "c": 0.12871,
    "h": 105.1
  },
  "luminance": 0.42188
}

Semantic roles & 50–950 ramp

primary
#B9B145
secondary
#9396C7
accent
#5BD552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B145

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

Preview Lab → · Contrast checker → · Palette generator →

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