#B9B62B#B9B62B

#B9B62B is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.5% C 0.151 H 108.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#B9B62B
RGBrgb(185, 182, 43)
HSLhsl(59, 62%, 45%)
HSVhsv(59, 77%, 73%)
CMYKcmyk(0%, 1.6%, 76.8%, 27.5%)
CIE-LABlab(72.19, -14.49, 65.55)
CIE-LCHlch(72.19, 67.14, 102.46°)
OKLaboklab(75.53% -0.0471 0.1431)
OKLCHoklch(75.53% 0.151 108.2)
XYZxyz(37.1730, 43.9458, 8.8093)
Luminance0.4395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B62B #2B2EB9
analogous
#B96F2B #B9B62B #75B92B
triadic
#B9B62B #2BB9B6 #B62BB9
tetradic
#B9B62B #2BB96F #2B2EB9 #B92B75
square
#B9B62B #2BB96F #2B2EB9 #B92B75
split-complementary
#B9B62B #2B75B9 #6F2BB9
monochromatic
#565414 #87851F #B9B62B #D5D24C #E1DF7E

Accessibility & contrast

On white

2.15
#B9B62B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#B9B62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B62B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B62B#FFFFFF#000000##000000
##B9B62B1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE03
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#C7AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b9b62b;
/* rgb */ color: rgb(185, 182, 43);
/* oklch */ color: oklch(75.5% 0.151 108.2);
Tailwind
colors: {
  custom: {
    50: '#d2cb70',
    500: '#b9b62b',
    950: '#000000',
  },
}
SCSS
$custom: #b9b62b;
$custom-light: #d2cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b62b",
  "rgb": {
    "r": 185,
    "g": 182,
    "b": 43
  },
  "hsl": {
    "h": 58.732,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75531,
    "c": 0.15065,
    "h": 108.2
  },
  "luminance": 0.43945
}

Semantic roles & 50–950 ramp

primary
#B9B62B
secondary
#7678C9
accent
#46E542
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B62B

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

Preview Lab → · Contrast checker → · Palette generator →

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