#B6A334#B6A334

#B6A334 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.129 H 99.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B6A334
RGBrgb(182, 163, 52)
HSLhsl(51, 56%, 46%)
HSVhsv(51, 71%, 71%)
CMYKcmyk(0%, 10.4%, 71.4%, 28.6%)
CIE-LABlab(66.82, -5.51, 57.20)
CIE-LCHlch(66.82, 57.46, 95.50°)
OKLaboklab(71.21% -0.0208 0.1272)
OKLCHoklch(71.21% 0.129 99.3)
XYZxyz(33.0100, 36.3890, 8.5332)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A334 #3447B6
analogous
#B66234 #B6A334 #88B634
triadic
#B6A334 #34B6A3 #A334B6
tetradic
#B6A334 #34B662 #3447B6 #B63488
square
#B6A334 #34B662 #3447B6 #B63488
split-complementary
#B6A334 #3488B6 #6234B6
monochromatic
#574E19 #867826 #B6A334 #CFBE58 #DDD088

Accessibility & contrast

On white

2.54
#B6A334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B6A334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A334
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A334#FFFFFF#000000##000000
##B6A3341.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F23
Deuteranopia (green-blind)
#B8A63B
Tritanopia (blue-blind)
#C4978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b6a334;
/* rgb */ color: rgb(182, 163, 52);
/* oklch */ color: oklch(71.2% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#cfbd73',
    500: '#b6a334',
    950: '#000000',
  },
}
SCSS
$custom: #b6a334;
$custom-light: #cfbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a334",
  "rgb": {
    "r": 182,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 51.231,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71207,
    "c": 0.12884,
    "h": 99.3
  },
  "luminance": 0.36387
}

Semantic roles & 50–950 ramp

primary
#B6A334
secondary
#7F8AC7
accent
#5FDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A334

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

Preview Lab → · Contrast checker → · Palette generator →

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