#B7A641#B7A641

#B7A641 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.122 H 99.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#B7A641
RGBrgb(183, 166, 65)
HSLhsl(51, 48%, 49%)
HSVhsv(51, 64%, 72%)
CMYKcmyk(0%, 9.3%, 64.5%, 28.2%)
CIE-LABlab(67.82, -5.92, 52.84)
CIE-LCHlch(67.82, 53.17, 96.39°)
OKLaboklab(72.05% -0.0206 0.1201)
OKLCHoklch(72.05% 0.122 99.7)
XYZxyz(34.1202, 37.7229, 10.4840)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A641 #4152B7
analogous
#B76B41 #B7A641 #8DB741
triadic
#B7A641 #41B7A6 #A641B7
tetradic
#B7A641 #41B76B #4152B7 #B7418D
square
#B7A641 #41B76B #4152B7 #B7418D
split-complementary
#B7A641 #418DB7 #6B41B7
monochromatic
#5D5421 #8A7D31 #B7A641 #CABD6B #DAD198

Accessibility & contrast

On white

2.46
#B7A641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#B7A641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A641
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A641#FFFFFF#000000##000000
##B7A6411.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7a641;
/* rgb */ color: rgb(183, 166, 65);
/* oklch */ color: oklch(72.1% 0.122 99.7);
Tailwind
colors: {
  custom: {
    50: '#d0c07a',
    500: '#b7a641',
    950: '#000000',
  },
}
SCSS
$custom: #b7a641;
$custom-light: #d0c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a641",
  "rgb": {
    "r": 183,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 51.356,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72054,
    "c": 0.12185,
    "h": 99.7
  },
  "luminance": 0.37721
}

Semantic roles & 50–950 ramp

primary
#B7A641
secondary
#8E96C6
accent
#64D751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A641

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

Preview Lab → · Contrast checker → · Palette generator →

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