#B6B142#B6B142

#B6B142 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.131 H 106.7°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#B6B142
RGBrgb(182, 177, 66)
HSLhsl(57, 47%, 49%)
HSVhsv(57, 64%, 71%)
CMYKcmyk(0%, 2.7%, 63.7%, 28.6%)
CIE-LABlab(70.72, -12.04, 55.47)
CIE-LCHlch(70.72, 56.76, 102.25°)
OKLaboklab(74.35% -0.0378 0.1259)
OKLCHoklch(74.35% 0.131 106.7)
XYZxyz(35.9982, 41.7839, 11.3221)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B142 #4247B6
analogous
#B67742 #B6B142 #81B642
triadic
#B6B142 #42B6B1 #B142B6
tetradic
#B6B142 #42B677 #4247B6 #B64281
square
#B6B142 #42B677 #4247B6 #B64281
split-complementary
#B6B142 #4281B6 #7742B6
monochromatic
#5C5A21 #898532 #B6B142 #CAC66C #DAD799

Accessibility & contrast

On white

2.24
#B6B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#B6B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B142
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B142#FFFFFF#000000##000000
##B6B1421.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB34
Deuteranopia (green-blind)
#C2AF49
Tritanopia (blue-blind)
#C3A69A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b142;
/* rgb */ color: rgb(182, 177, 66);
/* oklch */ color: oklch(74.3% 0.131 106.7);
Tailwind
colors: {
  custom: {
    50: '#cfc87c',
    500: '#b6b142',
    950: '#000000',
  },
}
SCSS
$custom: #b6b142;
$custom-light: #cfc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b142",
  "rgb": {
    "r": 182,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 57.414,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74345,
    "c": 0.13141,
    "h": 106.7
  },
  "luminance": 0.41783
}

Semantic roles & 50–950 ramp

primary
#B6B142
secondary
#8E90C6
accent
#57D651
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B6B142

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

Preview Lab → · Contrast checker → · Palette generator →

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