#B4A366#B4A366

#B4A366 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.083 H 94.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B4A366
RGBrgb(180, 163, 102)
HSLhsl(47, 34%, 55%)
HSVhsv(47, 43%, 71%)
CMYKcmyk(0%, 9.4%, 43.3%, 29.4%)
CIE-LABlab(67.17, -2.45, 33.89)
CIE-LCHlch(67.17, 33.98, 94.14°)
OKLaboklab(71.62% -0.0063 0.0825)
OKLCHoklch(71.62% 0.083 94.4)
XYZxyz(34.3187, 36.8582, 17.8744)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A366 #6677B4
analogous
#B47C66 #B4A366 #9EB466
triadic
#B4A366 #66B4A3 #A366B4
tetradic
#B4A366 #66B47C #6677B4 #B4669E
square
#B4A366 #66B47C #6677B4 #B4669E
split-complementary
#B4A366 #669EB4 #7C66B4
monochromatic
#6B5F34 #948449 #B4A366 #C8BC8F #DCD4B8

Accessibility & contrast

On white

2.51
#B4A366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B4A366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A366
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A366#FFFFFF#000000##000000
##B4A3661.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA061
Deuteranopia (green-blind)
#B3A668
Tritanopia (blue-blind)
#BF9A94
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a366;
/* rgb */ color: rgb(180, 163, 102);
/* oklch */ color: oklch(71.6% 0.083 94.4);
Tailwind
colors: {
  custom: {
    50: '#ccbe92',
    500: '#b4a366',
    950: '#000000',
  },
}
SCSS
$custom: #b4a366;
$custom-light: #ccbe92;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a366",
  "rgb": {
    "r": 180,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 46.923,
    "s": 34.211,
    "l": 55.294
  },
  "oklch": {
    "l": 0.71618,
    "c": 0.08275,
    "h": 94.4
  },
  "luminance": 0.36857
}

Semantic roles & 50–950 ramp

primary
#B4A366
secondary
#ABB2CB
accent
#75CA5E
background
#FCFBF9
surface
#F9F6F1
border
#D2D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #B4A366

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

Preview Lab → · Contrast checker → · Palette generator →

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