#B6B52D#B6B52D

#B6B52D is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.149 H 109.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#B6B52D
RGBrgb(182, 181, 45)
HSLhsl(60, 60%, 45%)
HSVhsv(60, 75%, 71%)
CMYKcmyk(0%, 0.5%, 75.3%, 28.6%)
CIE-LABlab(71.68, -15.19, 64.36)
CIE-LCHlch(71.68, 66.12, 103.28°)
OKLaboklab(75.06% -0.0488 0.141)
OKLCHoklch(75.06% 0.149 109.1)
XYZxyz(36.2903, 43.1834, 8.9057)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B52D #2D2EB6
analogous
#B6712D #B6B52D #73B62D
triadic
#B6B52D #2DB6B5 #B52DB6
tetradic
#B6B52D #2DB671 #2D2EB6 #B62D73
square
#B6B52D #2DB671 #2D2EB6 #B62D73
split-complementary
#B6B52D #2D73B6 #712DB6
monochromatic
#545315 #858421 #B6B52D #D3D24D #DFDE7E

Accessibility & contrast

On white

2.18
#B6B52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#B6B52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B52D
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B52D#FFFFFF#000000##000000
##B6B52D1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0C
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#C3A99B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b6b52d;
/* rgb */ color: rgb(182, 181, 45);
/* oklch */ color: oklch(75.1% 0.149 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0ca71',
    500: '#b6b52d',
    950: '#000000',
  },
}
SCSS
$custom: #b6b52d;
$custom-light: #d0ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b52d",
  "rgb": {
    "r": 182,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 59.562,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75064,
    "c": 0.14922,
    "h": 109.1
  },
  "luminance": 0.43182
}

Semantic roles & 50–950 ramp

primary
#B6B52D
secondary
#7778C8
accent
#45E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B52D

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

Preview Lab → · Contrast checker → · Palette generator →

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