#B7A366#B7A366

#B7A366 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.9% C 0.083 H 91.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B7A366
RGBrgb(183, 163, 102)
HSLhsl(45, 36%, 56%)
HSVhsv(45, 44%, 72%)
CMYKcmyk(0%, 10.9%, 44.3%, 28.2%)
CIE-LABlab(67.44, -1.20, 34.29)
CIE-LCHlch(67.44, 34.31, 92.01°)
OKLaboklab(71.9% -0.0028 0.0834)
OKLCHoklch(71.9% 0.083 91.9)
XYZxyz(35.0249, 37.2223, 17.9075)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A366 #667AB7
analogous
#B77A66 #B7A366 #A2B766
triadic
#B7A366 #66B7A3 #A366B7
tetradic
#B7A366 #66B77A #667AB7 #B766A2
square
#B7A366 #66B77A #667AB7 #B766A2
split-complementary
#B7A366 #66A2B7 #7A66B7
monochromatic
#6F6034 #988448 #B7A366 #CBBC90 #DED5B9

Accessibility & contrast

On white

2.49
#B7A366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B7A366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A366
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A366#FFFFFF#000000##000000
##B7A3661.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA161
Deuteranopia (green-blind)
#B4A768
Tritanopia (blue-blind)
#C39A94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b7a366;
/* rgb */ color: rgb(183, 163, 102);
/* oklch */ color: oklch(71.9% 0.083 91.9);
Tailwind
colors: {
  custom: {
    50: '#cebe92',
    500: '#b7a366',
    950: '#000000',
  },
}
SCSS
$custom: #b7a366;
$custom-light: #cebe92;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a366",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 45.185,
    "s": 36,
    "l": 55.882
  },
  "oklch": {
    "l": 0.71898,
    "c": 0.08344,
    "h": 91.9
  },
  "luminance": 0.37221
}

Semantic roles & 50–950 ramp

primary
#B7A366
secondary
#ACB4CD
accent
#77CC5C
background
#FCFBF9
surface
#F9F6F1
border
#D2D0CB
text
#14120D
muted
#82817E

Preview Lab

Preview with #B7A366

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

Preview Lab → · Contrast checker → · Palette generator →

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