#B6B334#B6B334

#B6B334 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.7% C 0.143 H 108.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B6B334
RGBrgb(182, 179, 52)
HSLhsl(59, 56%, 46%)
HSVhsv(59, 71%, 71%)
CMYKcmyk(0%, 1.6%, 71.4%, 28.6%)
CIE-LABlab(71.17, -13.86, 61.46)
CIE-LCHlch(71.17, 63.00, 102.71°)
OKLaboklab(74.67% -0.0444 0.1362)
OKLCHoklch(74.67% 0.143 108.1)
XYZxyz(36.0327, 42.4344, 9.5407)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B334 #3437B6
analogous
#B67234 #B6B334 #78B634
triadic
#B6B334 #34B6B3 #B334B6
tetradic
#B6B334 #34B672 #3437B6 #B63478
square
#B6B334 #34B672 #3437B6 #B63478
split-complementary
#B6B334 #3478B6 #7234B6
monochromatic
#575519 #868426 #B6B334 #CFCD58 #DDDB88

Accessibility & contrast

On white

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

On black

9.49
#B6B334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B334
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B334#FFFFFF#000000##000000
##B6B3341.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1D
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#C3A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b6b334;
/* rgb */ color: rgb(182, 179, 52);
/* oklch */ color: oklch(74.7% 0.143 108.1);
Tailwind
colors: {
  custom: {
    50: '#cfc974',
    500: '#b6b334',
    950: '#000000',
  },
}
SCSS
$custom: #b6b334;
$custom-light: #cfc974;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b334",
  "rgb": {
    "r": 182,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 58.615,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7467,
    "c": 0.14321,
    "h": 108.1
  },
  "luminance": 0.42433
}

Semantic roles & 50–950 ramp

primary
#B6B334
secondary
#7F81C7
accent
#4CDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B334

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

Preview Lab → · Contrast checker → · Palette generator →

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