#B9B448#B9B448

#B9B448 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.129 H 106.6°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#B9B448
RGBrgb(185, 180, 72)
HSLhsl(57, 45%, 50%)
HSVhsv(57, 61%, 73%)
CMYKcmyk(0%, 2.7%, 61.1%, 27.5%)
CIE-LABlab(71.84, -11.91, 54.16)
CIE-LCHlch(71.84, 55.45, 102.41°)
OKLaboklab(75.32% -0.037 0.1239)
OKLCHoklch(75.32% 0.129 106.6)
XYZxyz(37.4998, 43.4259, 12.5363)
Luminance0.4343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B448 #484DB9
analogous
#B97B48 #B9B448 #85B948
triadic
#B9B448 #48B9B4 #B448B9
tetradic
#B9B448 #48B97B #484DB9 #B94885
square
#B9B448 #48B97B #484DB9 #B94885
split-complementary
#B9B448 #4885B9 #7B48B9
monochromatic
#615F25 #8E8A36 #B9B448 #CAC674 #DBD8A1

Accessibility & contrast

On white

2.17
#B9B448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#B9B448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B448
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B448#FFFFFF#000000##000000
##B9B4481.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3B
Deuteranopia (green-blind)
#C5B24E
Tritanopia (blue-blind)
#C6A99D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b9b448;
/* rgb */ color: rgb(185, 180, 72);
/* oklch */ color: oklch(75.3% 0.129 106.6);
Tailwind
colors: {
  custom: {
    50: '#d1ca80',
    500: '#b9b448',
    950: '#000000',
  },
}
SCSS
$custom: #b9b448;
$custom-light: #d1ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b448",
  "rgb": {
    "r": 185,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 57.345,
    "s": 44.664,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75316,
    "c": 0.12926,
    "h": 106.6
  },
  "luminance": 0.43425
}

Semantic roles & 50–950 ramp

primary
#B9B448
secondary
#9597C8
accent
#59D453
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B448

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

Preview Lab → · Contrast checker → · Palette generator →

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