#B6AE31#B6AE31

#B6AE31 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.6% C 0.140 H 105.7°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#B6AE31
RGBrgb(182, 174, 49)
HSLhsl(56, 58%, 45%)
HSVhsv(56, 73%, 71%)
CMYKcmyk(0%, 4.4%, 73.1%, 28.6%)
CIE-LABlab(69.78, -11.42, 61.21)
CIE-LCHlch(69.78, 62.26, 100.57°)
OKLaboklab(73.56% -0.0378 0.1351)
OKLCHoklch(73.56% 0.14 105.7)
XYZxyz(34.9833, 40.4402, 8.8681)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AE31 #3139B6
analogous
#B66B31 #B6AE31 #7BB631
triadic
#B6AE31 #31B6AE #AE31B6
tetradic
#B6AE31 #31B66B #3139B6 #B6317B
square
#B6AE31 #31B66B #3139B6 #B6317B
split-complementary
#B6AE31 #317BB6 #6B31B6
monochromatic
#565217 #868024 #B6AE31 #D1C953 #DED884

Accessibility & contrast

On white

2.31
#B6AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#B6AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AE31
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AE31#FFFFFF#000000##000000
##B6AE311.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA81A
Deuteranopia (green-blind)
#C0AD3A
Tritanopia (blue-blind)
#C4A296
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b6ae31;
/* rgb */ color: rgb(182, 174, 49);
/* oklch */ color: oklch(73.6% 0.140 105.7);
Tailwind
colors: {
  custom: {
    50: '#cfc572',
    500: '#b6ae31',
    950: '#000000',
  },
}
SCSS
$custom: #b6ae31;
$custom-light: #cfc572;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ae31",
  "rgb": {
    "r": 182,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 56.391,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73558,
    "c": 0.14028,
    "h": 105.7
  },
  "luminance": 0.40439
}

Semantic roles & 50–950 ramp

primary
#B6AE31
secondary
#7C80C7
accent
#50E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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