#B6AA34#B6AA34

#B6AA34 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.135 H 103.4°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B6AA34
RGBrgb(182, 170, 52)
HSLhsl(54, 56%, 46%)
HSVhsv(54, 71%, 71%)
CMYKcmyk(0%, 6.6%, 71.4%, 28.6%)
CIE-LABlab(68.71, -9.20, 59.06)
CIE-LCHlch(68.71, 59.78, 98.85°)
OKLaboklab(72.71% -0.0313 0.1311)
OKLCHoklch(72.71% 0.135 103.4)
XYZxyz(34.2874, 38.9439, 8.9590)
Luminance0.3894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AA34 #3440B6
analogous
#B66934 #B6AA34 #81B634
triadic
#B6AA34 #34B6AA #AA34B6
tetradic
#B6AA34 #34B669 #3440B6 #B63481
square
#B6AA34 #34B669 #3440B6 #B63481
split-complementary
#B6AA34 #3481B6 #6934B6
monochromatic
#575119 #867E26 #B6AA34 #CFC458 #DDD588

Accessibility & contrast

On white

2.39
#B6AA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#B6AA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AA34
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AA34#FFFFFF#000000##000000
##B6AA341.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A421
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#C49E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6aa34;
/* rgb */ color: rgb(182, 170, 52);
/* oklch */ color: oklch(72.7% 0.135 103.4);
Tailwind
colors: {
  custom: {
    50: '#cfc373',
    500: '#b6aa34',
    950: '#000000',
  },
}
SCSS
$custom: #b6aa34;
$custom-light: #cfc373;
$custom-dark: #000000;
JSON
{
  "hex": "#b6aa34",
  "rgb": {
    "r": 182,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 54.462,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72712,
    "c": 0.13478,
    "h": 103.4
  },
  "luminance": 0.38942
}

Semantic roles & 50–950 ramp

primary
#B6AA34
secondary
#7F86C7
accent
#57DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B6AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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