#B6A834#B6A834

#B6A834 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.133 H 102.3°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#B6A834
RGBrgb(182, 168, 52)
HSLhsl(54, 56%, 46%)
HSVhsv(54, 71%, 71%)
CMYKcmyk(0%, 7.7%, 71.4%, 28.6%)
CIE-LABlab(68.17, -8.15, 58.53)
CIE-LCHlch(68.17, 59.10, 97.93°)
OKLaboklab(72.28% -0.0283 0.13)
OKLCHoklch(72.28% 0.133 102.3)
XYZxyz(33.9154, 38.1997, 8.8350)
Luminance0.3820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A834 #3442B6
analogous
#B66734 #B6A834 #83B634
triadic
#B6A834 #34B6A8 #A834B6
tetradic
#B6A834 #34B667 #3442B6 #B63483
square
#B6A834 #34B667 #3442B6 #B63483
split-complementary
#B6A834 #3483B6 #6734B6
monochromatic
#575019 #867C26 #B6A834 #CFC258 #DDD488

Accessibility & contrast

On white

2.43
#B6A834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#B6A834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A834
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A834#FFFFFF#000000##000000
##B6A8341.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A321
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#C49C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b6a834;
/* rgb */ color: rgb(182, 168, 52);
/* oklch */ color: oklch(72.3% 0.133 102.3);
Tailwind
colors: {
  custom: {
    50: '#cfc173',
    500: '#b6a834',
    950: '#000000',
  },
}
SCSS
$custom: #b6a834;
$custom-light: #cfc173;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a834",
  "rgb": {
    "r": 182,
    "g": 168,
    "b": 52
  },
  "hsl": {
    "h": 53.538,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7228,
    "c": 0.13302,
    "h": 102.3
  },
  "luminance": 0.38198
}

Semantic roles & 50–950 ramp

primary
#B6A834
secondary
#7F87C7
accent
#59DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A834

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

Preview Lab → · Contrast checker → · Palette generator →

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