#B6A342#B6A342

#B6A342 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.118 H 98.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B6A342
RGBrgb(182, 163, 66)
HSLhsl(50, 47%, 49%)
HSVhsv(50, 64%, 71%)
CMYKcmyk(0%, 10.4%, 63.7%, 28.6%)
CIE-LABlab(66.93, -4.70, 51.42)
CIE-LCHlch(66.93, 51.63, 95.22°)
OKLaboklab(71.33% -0.0169 0.1173)
OKLCHoklch(71.33% 0.118 98.2)
XYZxyz(33.3734, 36.5343, 10.4471)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A342 #4255B6
analogous
#B66942 #B6A342 #8FB642
triadic
#B6A342 #42B6A3 #A342B6
tetradic
#B6A342 #42B669 #4255B6 #B6428F
square
#B6A342 #42B669 #4255B6 #B6428F
split-complementary
#B6A342 #428FB6 #6942B6
monochromatic
#5C5321 #897B32 #B6A342 #CABA6C #DACF99

Accessibility & contrast

On white

2.53
#B6A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B6A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A342
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A342#FFFFFF#000000##000000
##B6A3421.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F37
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#C4988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b6a342;
/* rgb */ color: rgb(182, 163, 66);
/* oklch */ color: oklch(71.3% 0.118 98.2);
Tailwind
colors: {
  custom: {
    50: '#cfbe7b',
    500: '#b6a342',
    950: '#000000',
  },
}
SCSS
$custom: #b6a342;
$custom-light: #cfbe7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a342",
  "rgb": {
    "r": 182,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 50.172,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7133,
    "c": 0.11847,
    "h": 98.2
  },
  "luminance": 0.36533
}

Semantic roles & 50–950 ramp

primary
#B6A342
secondary
#8E97C6
accent
#67D651
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B6A342

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

Preview Lab → · Contrast checker → · Palette generator →

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