#B6B652#B6B652

#B6B652 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.6% C 0.123 H 109.0°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B6B652
RGBrgb(182, 182, 82)
HSLhsl(60, 41%, 52%)
HSVhsv(60, 55%, 71%)
CMYKcmyk(0%, 0%, 54.9%, 28.6%)
CIE-LABlab(72.24, -13.47, 50.00)
CIE-LCHlch(72.24, 51.78, 105.07°)
OKLaboklab(75.6% -0.0401 0.1163)
OKLCHoklch(75.6% 0.123 109)
XYZxyz(37.5433, 44.0111, 14.4983)
Luminance0.4401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B652 #5252B6
analogous
#B68452 #B6B652 #84B652
triadic
#B6B652 #52B6B6 #B652B6
tetradic
#B6B652 #52B684 #5252B6 #B65284
square
#B6B652 #52B684 #5252B6 #B65284
split-complementary
#B6B652 #5284B6 #8452B6
monochromatic
#64642A #8F8F3C #B6B652 #C8C87D #DADAA8

Accessibility & contrast

On white

2.14
#B6B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#B6B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B652
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B652#FFFFFF#000000##000000
##B6B6521.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#C5B357
Tritanopia (blue-blind)
#C1ACA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b6b652;
/* rgb */ color: rgb(182, 182, 82);
/* oklch */ color: oklch(75.6% 0.123 109.0);
Tailwind
colors: {
  custom: {
    50: '#cecb86',
    500: '#b6b652',
    950: '#000000',
  },
}
SCSS
$custom: #b6b652;
$custom-light: #cecb86;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b652",
  "rgb": {
    "r": 182,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 40.65,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75599,
    "c": 0.12304,
    "h": 109
  },
  "luminance": 0.4401
}

Semantic roles & 50–950 ramp

primary
#B6B652
secondary
#9C9CC8
accent
#57D157
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B6B652

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

Preview Lab → · Contrast checker → · Palette generator →

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