#B6A134#B6A134

#B6A134 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.127 H 98.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B6A134
RGBrgb(182, 161, 52)
HSLhsl(50, 56%, 46%)
HSVhsv(50, 71%, 71%)
CMYKcmyk(0%, 11.5%, 71.4%, 28.6%)
CIE-LABlab(66.28, -4.44, 56.67)
CIE-LCHlch(66.28, 56.84, 94.48°)
OKLaboklab(70.78% -0.0178 0.126)
OKLCHoklch(70.78% 0.127 98)
XYZxyz(32.6577, 35.6844, 8.4157)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A134 #3449B6
analogous
#B66034 #B6A134 #8AB634
triadic
#B6A134 #34B6A1 #A134B6
tetradic
#B6A134 #34B660 #3449B6 #B6348A
square
#B6A134 #34B660 #3449B6 #B6348A
split-complementary
#B6A134 #348AB6 #6034B6
monochromatic
#574D19 #867726 #B6A134 #CFBC58 #DDCF88

Accessibility & contrast

On white

2.58
#B6A134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B6A134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A134
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A134#FFFFFF#000000##000000
##B6A1341.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D23
Deuteranopia (green-blind)
#B7A43B
Tritanopia (blue-blind)
#C4958B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b6a134;
/* rgb */ color: rgb(182, 161, 52);
/* oklch */ color: oklch(70.8% 0.127 98.0);
Tailwind
colors: {
  custom: {
    50: '#cfbc72',
    500: '#b6a134',
    950: '#000000',
  },
}
SCSS
$custom: #b6a134;
$custom-light: #cfbc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a134",
  "rgb": {
    "r": 182,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 50.308,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70781,
    "c": 0.12728,
    "h": 98
  },
  "luminance": 0.35683
}

Semantic roles & 50–950 ramp

primary
#B6A134
secondary
#7F8BC7
accent
#61DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B6A134

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

Preview Lab → · Contrast checker → · Palette generator →

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