#B6A640#B6A640

#B6A640 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.123 H 100.4°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B6A640
RGBrgb(182, 166, 64)
HSLhsl(52, 48%, 48%)
HSVhsv(52, 65%, 71%)
CMYKcmyk(0%, 8.8%, 64.8%, 28.6%)
CIE-LABlab(67.72, -6.42, 53.15)
CIE-LCHlch(67.72, 53.53, 96.89°)
OKLaboklab(71.95% -0.0221 0.1206)
OKLCHoklch(71.95% 0.123 100.4)
XYZxyz(33.8544, 37.5891, 10.3217)
Luminance0.3759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A640 #4050B6
analogous
#B66B40 #B6A640 #8BB640
triadic
#B6A640 #40B6A6 #A640B6
tetradic
#B6A640 #40B66B #4050B6 #B6408B
square
#B6A640 #40B66B #4050B6 #B6408B
split-complementary
#B6A640 #408BB6 #6B40B6
monochromatic
#5B5320 #897D30 #B6A640 #CABD69 #DAD196

Accessibility & contrast

On white

2.47
#B6A640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B6A640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A640
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A640#FFFFFF#000000##000000
##B6A6401.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A134
Deuteranopia (green-blind)
#BAA846
Tritanopia (blue-blind)
#C49B91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b6a640;
/* rgb */ color: rgb(182, 166, 64);
/* oklch */ color: oklch(72.0% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#cfc07a',
    500: '#b6a640',
    950: '#000000',
  },
}
SCSS
$custom: #b6a640;
$custom-light: #cfc07a;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a640",
  "rgb": {
    "r": 182,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 51.864,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71951,
    "c": 0.12262,
    "h": 100.4
  },
  "luminance": 0.37588
}

Semantic roles & 50–950 ramp

primary
#B6A640
secondary
#8C94C6
accent
#63D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B6A640

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

Preview Lab → · Contrast checker → · Palette generator →

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