#B9B433#B9B433

#B9B433 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.144 H 107.2°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#B9B433
RGBrgb(185, 180, 51)
HSLhsl(58, 57%, 46%)
HSVhsv(58, 72%, 73%)
CMYKcmyk(0%, 2.7%, 72.4%, 27.5%)
CIE-LABlab(71.69, -13.12, 62.41)
CIE-LCHlch(71.69, 63.77, 101.88°)
OKLaboklab(75.14% -0.0426 0.1379)
OKLCHoklch(75.14% 0.144 107.2)
XYZxyz(36.9278, 43.1971, 9.5240)
Luminance0.4320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B433 #3338B9
analogous
#B97133 #B9B433 #7BB933
triadic
#B9B433 #33B9B4 #B433B9
tetradic
#B9B433 #33B971 #3338B9 #B9337B
square
#B9B433 #33B971 #3338B9 #B9337B
split-complementary
#B9B433 #337BB9 #7133B9
monochromatic
#595719 #898526 #B9B433 #D1CD58 #DEDB88

Accessibility & contrast

On white

2.18
#B9B433 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#B9B433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B433
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B433#FFFFFF#000000##000000
##B9B4331.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1B
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#C7A89B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b9b433;
/* rgb */ color: rgb(185, 180, 51);
/* oklch */ color: oklch(75.1% 0.144 107.2);
Tailwind
colors: {
  custom: {
    50: '#d2ca74',
    500: '#b9b433',
    950: '#000000',
  },
}
SCSS
$custom: #b9b433;
$custom-light: #d2ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b433",
  "rgb": {
    "r": 185,
    "g": 180,
    "b": 51
  },
  "hsl": {
    "h": 57.761,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75143,
    "c": 0.14431,
    "h": 107.2
  },
  "luminance": 0.43196
}

Semantic roles & 50–950 ramp

primary
#B9B433
secondary
#8082C8
accent
#4DE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B433

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

Preview Lab → · Contrast checker → · Palette generator →

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