#B8B366#B8B366

#B8B366 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.4% C 0.099 H 105.3°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#B8B366
RGBrgb(184, 179, 102)
HSLhsl(56, 37%, 56%)
HSVhsv(56, 45%, 72%)
CMYKcmyk(0%, 2.7%, 44.6%, 27.8%)
CIE-LABlab(71.82, -9.27, 39.80)
CIE-LCHlch(71.82, 40.86, 103.11°)
OKLaboklab(75.38% -0.0261 0.0958)
OKLCHoklch(75.38% 0.099 105.3)
XYZxyz(38.2863, 43.3909, 18.9262)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B366 #666BB8
analogous
#B88A66 #B8B366 #94B866
triadic
#B8B366 #66B8B3 #B366B8
tetradic
#B8B366 #66B88A #666BB8 #B86694
square
#B8B366 #66B88A #666BB8 #B86694
split-complementary
#B8B366 #6694B8 #8A66B8
monochromatic
#706C34 #9A9547 #B8B366 #CBC890 #DFDDBA

Accessibility & contrast

On white

2.17
#B8B366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#B8B366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B366
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B366#FFFFFF#000000##000000
##B8B3661.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b366;
/* rgb */ color: rgb(184, 179, 102);
/* oklch */ color: oklch(75.4% 0.099 105.3);
Tailwind
colors: {
  custom: {
    50: '#cfc993',
    500: '#b8b366',
    950: '#000000',
  },
}
SCSS
$custom: #b8b366;
$custom-light: #cfc993;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b366",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 102
  },
  "hsl": {
    "h": 56.341,
    "s": 36.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.75384,
    "c": 0.09928,
    "h": 105.3
  },
  "luminance": 0.4339
}

Semantic roles & 50–950 ramp

primary
#B8B366
secondary
#ACAECE
accent
#62CD5B
background
#FCFCF9
surface
#F9F8F1
border
#D2D1CB
text
#14130D
muted
#82827E

Preview Lab

Preview with #B8B366

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

Preview Lab → · Contrast checker → · Palette generator →

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