#B9B62C#B9B62C

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

Color values

HEX#B9B62C
RGBrgb(185, 182, 44)
HSLhsl(59, 62%, 45%)
HSVhsv(59, 76%, 73%)
CMYKcmyk(0%, 1.6%, 76.2%, 27.5%)
CIE-LABlab(72.20, -14.45, 65.24)
CIE-LCHlch(72.20, 66.82, 102.49°)
OKLaboklab(75.54% -0.0469 0.1426)
OKLCHoklch(75.54% 0.15 108.2)
XYZxyz(37.1916, 43.9533, 8.9071)
Luminance0.4395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B62C #2C2FB9
analogous
#B96F2C #B9B62C #76B92C
triadic
#B9B62C #2CB9B6 #B62CB9
tetradic
#B9B62C #2CB96F #2C2FB9 #B92C76
square
#B9B62C #2CB96F #2C2FB9 #B92C76
split-complementary
#B9B62C #2C76B9 #6F2CB9
monochromatic
#565514 #888520 #B9B62C #D5D24D #E1DE7F

Accessibility & contrast

On white

2.14
#B9B62C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B62C#FFFFFF#000000##000000
##B9B62C1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9b62c;
/* rgb */ color: rgb(185, 182, 44);
/* oklch */ color: oklch(75.5% 0.150 108.2);
Tailwind
colors: {
  custom: {
    50: '#d2cb71',
    500: '#b9b62c',
    950: '#000000',
  },
}
SCSS
$custom: #b9b62c;
$custom-light: #d2cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b62c",
  "rgb": {
    "r": 185,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 58.723,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75537,
    "c": 0.15014,
    "h": 108.2
  },
  "luminance": 0.43952
}

Semantic roles & 50–950 ramp

primary
#B9B62C
secondary
#7879C9
accent
#47E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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