#B9B43A#B9B43A

#B9B43A is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.2% C 0.140 H 107.0°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#B9B43A
RGBrgb(185, 180, 58)
HSLhsl(58, 52%, 48%)
HSVhsv(58, 69%, 73%)
CMYKcmyk(0%, 2.7%, 68.6%, 27.5%)
CIE-LABlab(71.73, -12.77, 59.84)
CIE-LCHlch(71.73, 61.19, 102.05°)
OKLaboklab(75.19% -0.0409 0.1337)
OKLCHoklch(75.19% 0.14 107)
XYZxyz(37.0939, 43.2635, 10.3989)
Luminance0.4326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B43A #3A3FB9
analogous
#B9753A #B9B43A #7EB93A
triadic
#B9B43A #3AB9B4 #B43AB9
tetradic
#B9B43A #3AB975 #3A3FB9 #B93A7E
square
#B9B43A #3AB975 #3A3FB9 #B93A7E
split-complementary
#B9B43A #3A7EB9 #753AB9
monochromatic
#5C591D #8A872B #B9B43A #CECA62 #DCDA91

Accessibility & contrast

On white

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

On black

9.65
#B9B43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B43A
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B43A#FFFFFF#000000##000000
##B9B43A1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD27
Deuteranopia (green-blind)
#C5B242
Tritanopia (blue-blind)
#C6A89C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b9b43a;
/* rgb */ color: rgb(185, 180, 58);
/* oklch */ color: oklch(75.2% 0.140 107.0);
Tailwind
colors: {
  custom: {
    50: '#d1ca78',
    500: '#b9b43a',
    950: '#000000',
  },
}
SCSS
$custom: #b9b43a;
$custom-light: #d1ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b43a",
  "rgb": {
    "r": 185,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 57.638,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75193,
    "c": 0.13982,
    "h": 107
  },
  "luminance": 0.43262
}

Semantic roles & 50–950 ramp

primary
#B9B43A
secondary
#878AC7
accent
#52DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B43A

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

Preview Lab → · Contrast checker → · Palette generator →

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