#B6B345#B6B345

#B6B345 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.131 H 107.7°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B6B345
RGBrgb(182, 179, 69)
HSLhsl(58, 45%, 49%)
HSVhsv(58, 62%, 71%)
CMYKcmyk(0%, 1.6%, 62.1%, 28.6%)
CIE-LABlab(71.29, -12.88, 54.80)
CIE-LCHlch(71.29, 56.29, 103.23°)
OKLaboklab(74.81% -0.0398 0.1249)
OKLCHoklch(74.81% 0.131 107.7)
XYZxyz(36.4869, 42.6161, 11.9328)
Luminance0.4261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B345 #4548B6
analogous
#B67B45 #B6B345 #81B645
triadic
#B6B345 #45B6B3 #B345B6
tetradic
#B6B345 #45B67B #4548B6 #B64581
square
#B6B345 #45B67B #4548B6 #B64581
split-complementary
#B6B345 #4581B6 #7B45B6
monochromatic
#5D5C23 #8A8734 #B6B345 #C9C670 #D9D89C

Accessibility & contrast

On white

2.21
#B6B345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#B6B345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B345
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B345#FFFFFF#000000##000000
##B6B3451.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C3B14C
Tritanopia (blue-blind)
#C2A89C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b6b345;
/* rgb */ color: rgb(182, 179, 69);
/* oklch */ color: oklch(74.8% 0.131 107.7);
Tailwind
colors: {
  custom: {
    50: '#cfc97e',
    500: '#b6b345',
    950: '#000000',
  },
}
SCSS
$custom: #b6b345;
$custom-light: #cfc97e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b345",
  "rgb": {
    "r": 182,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 58.407,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74809,
    "c": 0.13107,
    "h": 107.7
  },
  "luminance": 0.42615
}

Semantic roles & 50–950 ramp

primary
#B6B345
secondary
#9192C6
accent
#57D553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B6B345

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

Preview Lab → · Contrast checker → · Palette generator →

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