#B7B366#B7B366

#B7B366 is a light, moderate yellow. Relative luminance 0.433; OKLCH L 75.3% C 0.099 H 105.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#B7B366
RGBrgb(183, 179, 102)
HSLhsl(57, 36%, 56%)
HSVhsv(57, 44%, 72%)
CMYKcmyk(0%, 2.2%, 44.3%, 28.2%)
CIE-LABlab(71.74, -9.68, 39.67)
CIE-LCHlch(71.74, 40.84, 103.71°)
OKLaboklab(75.3% -0.0273 0.0955)
OKLCHoklch(75.3% 0.099 105.9)
XYZxyz(38.0476, 43.2678, 18.9151)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B366 #666AB7
analogous
#B78A66 #B7B366 #92B766
triadic
#B7B366 #66B7B3 #B366B7
tetradic
#B7B366 #66B78A #666AB7 #B76692
square
#B7B366 #66B78A #666AB7 #B76692
split-complementary
#B7B366 #6692B7 #8A66B7
monochromatic
#6F6C34 #989448 #B7B366 #CBC890 #DEDCB9

Accessibility & contrast

On white

2.18
#B7B366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#B7B366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B366
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B366#FFFFFF#000000##000000
##B7B3661.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAE60
Deuteranopia (green-blind)
#C1B169
Tritanopia (blue-blind)
#C1AAA1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b7b366;
/* rgb */ color: rgb(183, 179, 102);
/* oklch */ color: oklch(75.3% 0.099 105.9);
Tailwind
colors: {
  custom: {
    50: '#cec993',
    500: '#b7b366',
    950: '#000000',
  },
}
SCSS
$custom: #b7b366;
$custom-light: #cec993;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b366",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 102
  },
  "hsl": {
    "h": 57.037,
    "s": 36,
    "l": 55.882
  },
  "oklch": {
    "l": 0.75298,
    "c": 0.09933,
    "h": 105.9
  },
  "luminance": 0.43267
}

Semantic roles & 50–950 ramp

primary
#B7B366
secondary
#ACADCD
accent
#61CC5C
background
#FCFCF9
surface
#F9F8F1
border
#D2D1CB
text
#14130D
muted
#82827E

Preview Lab

Preview with #B7B366

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

Preview Lab → · Contrast checker → · Palette generator →

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