#B9B43B#B9B43B

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

Color values

HEX#B9B43B
RGBrgb(185, 180, 59)
HSLhsl(58, 52%, 48%)
HSVhsv(58, 68%, 73%)
CMYKcmyk(0%, 2.7%, 68.1%, 27.5%)
CIE-LABlab(71.74, -12.72, 59.46)
CIE-LCHlch(71.74, 60.81, 102.07°)
OKLaboklab(75.2% -0.0406 0.1331)
OKLCHoklch(75.2% 0.139 107)
XYZxyz(37.1196, 43.2738, 10.5342)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B43B #3B40B9
analogous
#B9753B #B9B43B #7FB93B
triadic
#B9B43B #3BB9B4 #B43BB9
tetradic
#B9B43B #3BB975 #3B40B9 #B93B7F
square
#B9B43B #3BB975 #3B40B9 #B93B7F
split-complementary
#B9B43B #3B7FB9 #753BB9
monochromatic
#5C5A1D #8B872C #B9B43B #CDC964 #DCD992

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B43B#FFFFFF#000000##000000
##B9B43B1.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)
#C3AD29
Deuteranopia (green-blind)
#C5B243
Tritanopia (blue-blind)
#C6A89C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b9b43b;
/* rgb */ color: rgb(185, 180, 59);
/* oklch */ color: oklch(75.2% 0.139 107.0);
Tailwind
colors: {
  custom: {
    50: '#d1ca78',
    500: '#b9b43b',
    950: '#000000',
  },
}
SCSS
$custom: #b9b43b;
$custom-light: #d1ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b43b",
  "rgb": {
    "r": 185,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 57.619,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75201,
    "c": 0.13913,
    "h": 107
  },
  "luminance": 0.43273
}

Semantic roles & 50–950 ramp

primary
#B9B43B
secondary
#888BC7
accent
#52DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B43B

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

Preview Lab → · Contrast checker → · Palette generator →

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