#B6A440#B6A440

#B6A440 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.121 H 99.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B6A440
RGBrgb(182, 164, 64)
HSLhsl(51, 48%, 48%)
HSVhsv(51, 65%, 71%)
CMYKcmyk(0%, 9.9%, 64.8%, 28.6%)
CIE-LABlab(67.18, -5.36, 52.57)
CIE-LCHlch(67.18, 52.85, 95.82°)
OKLaboklab(71.52% -0.019 0.1194)
OKLCHoklch(71.52% 0.121 99.1)
XYZxyz(33.4937, 36.8677, 10.2014)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A440 #4052B6
analogous
#B66940 #B6A440 #8DB640
triadic
#B6A440 #40B6A4 #A440B6
tetradic
#B6A440 #40B669 #4052B6 #B6408D
square
#B6A440 #40B669 #4052B6 #B6408D
split-complementary
#B6A440 #408DB6 #6940B6
monochromatic
#5B5220 #897B30 #B6A440 #CABB69 #DAD096

Accessibility & contrast

On white

2.51
#B6A440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B6A440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A440
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A440#FFFFFF#000000##000000
##B6A4401.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#B8A645
Tritanopia (blue-blind)
#C4998F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b6a440;
/* rgb */ color: rgb(182, 164, 64);
/* oklch */ color: oklch(71.5% 0.121 99.1);
Tailwind
colors: {
  custom: {
    50: '#cfbe7a',
    500: '#b6a440',
    950: '#000000',
  },
}
SCSS
$custom: #b6a440;
$custom-light: #cfbe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a440",
  "rgb": {
    "r": 182,
    "g": 164,
    "b": 64
  },
  "hsl": {
    "h": 50.847,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71523,
    "c": 0.12092,
    "h": 99.1
  },
  "luminance": 0.36866
}

Semantic roles & 50–950 ramp

primary
#B6A440
secondary
#8C95C6
accent
#65D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B6A440

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

Preview Lab → · Contrast checker → · Palette generator →

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