#B6A840#B6A840

#B6A840 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.4% C 0.124 H 101.6°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#B6A840
RGBrgb(182, 168, 64)
HSLhsl(53, 48%, 48%)
HSVhsv(53, 65%, 71%)
CMYKcmyk(0%, 7.7%, 64.8%, 28.6%)
CIE-LABlab(68.26, -7.47, 53.72)
CIE-LCHlch(68.26, 54.24, 97.92°)
OKLaboklab(72.38% -0.0251 0.1218)
OKLCHoklch(72.38% 0.124 101.6)
XYZxyz(34.2208, 38.3219, 10.4438)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A840 #404EB6
analogous
#B66D40 #B6A840 #89B640
triadic
#B6A840 #40B6A8 #A840B6
tetradic
#B6A840 #40B66D #404EB6 #B64089
square
#B6A840 #40B66D #404EB6 #B64089
split-complementary
#B6A840 #4089B6 #6D40B6
monochromatic
#5B5420 #897E30 #B6A840 #CABF69 #DAD296

Accessibility & contrast

On white

2.42
#B6A840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#B6A840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A840
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A840#FFFFFF#000000##000000
##B6A8401.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#BBA946
Tritanopia (blue-blind)
#C39D92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b6a840;
/* rgb */ color: rgb(182, 168, 64);
/* oklch */ color: oklch(72.4% 0.124 101.6);
Tailwind
colors: {
  custom: {
    50: '#cfc17a',
    500: '#b6a840',
    950: '#000000',
  },
}
SCSS
$custom: #b6a840;
$custom-light: #cfc17a;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a840",
  "rgb": {
    "r": 182,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 52.881,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7238,
    "c": 0.12439,
    "h": 101.6
  },
  "luminance": 0.38321
}

Semantic roles & 50–950 ramp

primary
#B6A840
secondary
#8C93C6
accent
#60D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B6A840

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

Preview Lab → · Contrast checker → · Palette generator →

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