#B5A366#B5A366

#B5A366 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.7% C 0.083 H 93.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B5A366
RGBrgb(181, 163, 102)
HSLhsl(46, 35%, 55%)
HSVhsv(46, 44%, 71%)
CMYKcmyk(0%, 9.9%, 43.6%, 29%)
CIE-LABlab(67.26, -2.04, 34.02)
CIE-LCHlch(67.26, 34.08, 93.42°)
OKLaboklab(71.71% -0.0051 0.0828)
OKLCHoklch(71.71% 0.083 93.5)
XYZxyz(34.5524, 36.9787, 17.8853)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A366 #6678B5
analogous
#B57B66 #B5A366 #9FB566
triadic
#B5A366 #66B5A3 #A366B5
tetradic
#B5A366 #66B57B #6678B5 #B5669F
square
#B5A366 #66B57B #6678B5 #B5669F
split-complementary
#B5A366 #669FB5 #7B66B5
monochromatic
#6C6034 #958448 #B5A366 #C9BC8F #DDD5B8

Accessibility & contrast

On white

2.50
#B5A366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B5A366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A366
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A366#FFFFFF#000000##000000
##B5A3661.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5a366;
/* rgb */ color: rgb(181, 163, 102);
/* oklch */ color: oklch(71.7% 0.083 93.5);
Tailwind
colors: {
  custom: {
    50: '#ccbe92',
    500: '#b5a366',
    950: '#000000',
  },
}
SCSS
$custom: #b5a366;
$custom-light: #ccbe92;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a366",
  "rgb": {
    "r": 181,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 46.329,
    "s": 34.802,
    "l": 55.49
  },
  "oklch": {
    "l": 0.71711,
    "c": 0.08296,
    "h": 93.5
  },
  "luminance": 0.36977
}

Semantic roles & 50–950 ramp

primary
#B5A366
secondary
#ABB2CC
accent
#76CB5D
background
#FCFBF9
surface
#F9F6F1
border
#D2D0CB
text
#14120D
muted
#82817E

Preview Lab

Preview with #B5A366

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

Preview Lab → · Contrast checker → · Palette generator →

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