#B9B640#B9B640

#B9B640 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.7% C 0.138 H 107.9°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B9B640
RGBrgb(185, 182, 64)
HSLhsl(59, 49%, 49%)
HSVhsv(59, 65%, 73%)
CMYKcmyk(0%, 1.6%, 65.4%, 27.5%)
CIE-LABlab(72.32, -13.45, 58.06)
CIE-LCHlch(72.32, 59.59, 103.05°)
OKLaboklab(75.68% -0.0422 0.1309)
OKLCHoklch(75.68% 0.138 107.9)
XYZxyz(37.6622, 44.1415, 11.3858)
Luminance0.4414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B640 #4043B9
analogous
#B97A40 #B9B640 #80B940
triadic
#B9B640 #40B9B6 #B640B9
tetradic
#B9B640 #40B97A #4043B9 #B94080
square
#B9B640 #40B97A #4043B9 #B94080
split-complementary
#B9B640 #4080B9 #7A40B9
monochromatic
#5E5D21 #8C8930 #B9B640 #CCC96B #DBDA98

Accessibility & contrast

On white

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

On black

9.83
#B9B640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B640
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B640#FFFFFF#000000##000000
##B9B6401.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF30
Deuteranopia (green-blind)
#C7B348
Tritanopia (blue-blind)
#C6AB9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b9b640;
/* rgb */ color: rgb(185, 182, 64);
/* oklch */ color: oklch(75.7% 0.138 107.9);
Tailwind
colors: {
  custom: {
    50: '#d1cb7b',
    500: '#b9b640',
    950: '#000000',
  },
}
SCSS
$custom: #b9b640;
$custom-light: #d1cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b640",
  "rgb": {
    "r": 185,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 58.512,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75677,
    "c": 0.13754,
    "h": 107.9
  },
  "luminance": 0.4414
}

Semantic roles & 50–950 ramp

primary
#B9B640
secondary
#8E8FC7
accent
#53D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B640

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

Preview Lab → · Contrast checker → · Palette generator →

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