#B6B431#B6B431

#B6B431 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.9% C 0.146 H 108.6°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#B6B431
RGBrgb(182, 180, 49)
HSLhsl(59, 58%, 45%)
HSVhsv(59, 73%, 71%)
CMYKcmyk(0%, 1.1%, 73.1%, 28.6%)
CIE-LABlab(71.43, -14.51, 62.77)
CIE-LCHlch(71.43, 64.43, 103.02°)
OKLaboklab(74.87% -0.0465 0.1384)
OKLCHoklch(74.87% 0.146 108.6)
XYZxyz(36.1684, 42.8105, 9.2632)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B431 #3133B6
analogous
#B67231 #B6B431 #75B631
triadic
#B6B431 #31B6B4 #B431B6
tetradic
#B6B431 #31B672 #3133B6 #B63175
square
#B6B431 #31B672 #3133B6 #B63175
split-complementary
#B6B431 #3175B6 #7231B6
monochromatic
#565517 #868424 #B6B431 #D1CF53 #DEDC84

Accessibility & contrast

On white

2.20
#B6B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#B6B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B431
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B431#FFFFFF#000000##000000
##B6B4311.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD17
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#C3A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b6b431;
/* rgb */ color: rgb(182, 180, 49);
/* oklch */ color: oklch(74.9% 0.146 108.6);
Tailwind
colors: {
  custom: {
    50: '#cfca73',
    500: '#b6b431',
    950: '#000000',
  },
}
SCSS
$custom: #b6b431;
$custom-light: #cfca73;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b431",
  "rgb": {
    "r": 182,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 59.098,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74869,
    "c": 0.146,
    "h": 108.6
  },
  "luminance": 0.42809
}

Semantic roles & 50–950 ramp

primary
#B6B431
secondary
#7C7DC7
accent
#49E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B431

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

Preview Lab → · Contrast checker → · Palette generator →

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