#B6AD31#B6AD31

#B6AD31 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.139 H 105.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B6AD31
RGBrgb(182, 173, 49)
HSLhsl(56, 58%, 45%)
HSVhsv(56, 73%, 71%)
CMYKcmyk(0%, 4.9%, 73.1%, 28.6%)
CIE-LABlab(69.51, -10.91, 60.95)
CIE-LCHlch(69.51, 61.91, 100.15°)
OKLaboklab(73.34% -0.0364 0.1345)
OKLCHoklch(73.34% 0.139 105.1)
XYZxyz(34.7908, 40.0553, 8.8040)
Luminance0.4005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AD31 #313AB6
analogous
#B66B31 #B6AD31 #7CB631
triadic
#B6AD31 #31B6AD #AD31B6
tetradic
#B6AD31 #31B66B #313AB6 #B6317C
square
#B6AD31 #31B66B #313AB6 #B6317C
split-complementary
#B6AD31 #317CB6 #6B31B6
monochromatic
#565117 #867F24 #B6AD31 #D1C853 #DED884

Accessibility & contrast

On white

2.33
#B6AD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B6AD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AD31
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AD31#FFFFFF#000000##000000
##B6AD311.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71A
Deuteranopia (green-blind)
#C0AC3A
Tritanopia (blue-blind)
#C4A195
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b6ad31;
/* rgb */ color: rgb(182, 173, 49);
/* oklch */ color: oklch(73.3% 0.139 105.1);
Tailwind
colors: {
  custom: {
    50: '#cfc572',
    500: '#b6ad31',
    950: '#000000',
  },
}
SCSS
$custom: #b6ad31;
$custom-light: #cfc572;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ad31",
  "rgb": {
    "r": 182,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 55.94,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73341,
    "c": 0.13936,
    "h": 105.1
  },
  "luminance": 0.40054
}

Semantic roles & 50–950 ramp

primary
#B6AD31
secondary
#7C81C7
accent
#51E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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