#B6B042#B6B042

#B6B042 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.1% C 0.130 H 106.2°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#B6B042
RGBrgb(182, 176, 66)
HSLhsl(57, 47%, 49%)
HSVhsv(57, 64%, 71%)
CMYKcmyk(0%, 3.3%, 63.7%, 28.6%)
CIE-LABlab(70.45, -11.53, 55.18)
CIE-LCHlch(70.45, 56.37, 101.80°)
OKLaboklab(74.13% -0.0363 0.1252)
OKLCHoklch(74.13% 0.13 106.2)
XYZxyz(35.8014, 41.3903, 11.2565)
Luminance0.4139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B042 #4248B6
analogous
#B67642 #B6B042 #82B642
triadic
#B6B042 #42B6B0 #B042B6
tetradic
#B6B042 #42B676 #4248B6 #B64282
square
#B6B042 #42B676 #4248B6 #B64282
split-complementary
#B6B042 #4282B6 #7642B6
monochromatic
#5C5921 #898532 #B6B042 #CAC56C #DAD699

Accessibility & contrast

On white

2.26
#B6B042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#B6B042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B042
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B042#FFFFFF#000000##000000
##B6B0421.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA34
Deuteranopia (green-blind)
#C1AE49
Tritanopia (blue-blind)
#C3A599
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b6b042;
/* rgb */ color: rgb(182, 176, 66);
/* oklch */ color: oklch(74.1% 0.130 106.2);
Tailwind
colors: {
  custom: {
    50: '#cfc77c',
    500: '#b6b042',
    950: '#000000',
  },
}
SCSS
$custom: #b6b042;
$custom-light: #cfc77c;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b042",
  "rgb": {
    "r": 182,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 56.897,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74128,
    "c": 0.13041,
    "h": 106.2
  },
  "luminance": 0.41389
}

Semantic roles & 50–950 ramp

primary
#B6B042
secondary
#8E91C6
accent
#58D651
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B6B042

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

Preview Lab → · Contrast checker → · Palette generator →

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