#B5A643#B5A643

#B5A643 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.9% C 0.120 H 100.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B5A643
RGBrgb(181, 166, 67)
HSLhsl(52, 46%, 49%)
HSVhsv(52, 63%, 71%)
CMYKcmyk(0%, 8.3%, 63%, 29%)
CIE-LABlab(67.65, -6.66, 51.73)
CIE-LCHlch(67.65, 52.15, 97.34°)
OKLaboklab(71.89% -0.0223 0.1181)
OKLCHoklch(71.89% 0.12 100.7)
XYZxyz(33.7067, 37.5028, 10.7724)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A643 #4352B5
analogous
#B56D43 #B5A643 #8BB543
triadic
#B5A643 #43B5A6 #A643B5
tetradic
#B5A643 #43B56D #4352B5 #B5438B
square
#B5A643 #43B56D #4352B5 #B5438B
split-complementary
#B5A643 #438BB5 #6D43B5
monochromatic
#5C5422 #887D32 #B5A643 #C9BD6C #D9D199

Accessibility & contrast

On white

2.47
#B5A643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B5A643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A643
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A643#FFFFFF#000000##000000
##B5A6431.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A138
Deuteranopia (green-blind)
#B9A748
Tritanopia (blue-blind)
#C29B91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b5a643;
/* rgb */ color: rgb(181, 166, 67);
/* oklch */ color: oklch(71.9% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#cec07b',
    500: '#b5a643',
    950: '#000000',
  },
}
SCSS
$custom: #b5a643;
$custom-light: #cec07b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a643",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 67
  },
  "hsl": {
    "h": 52.105,
    "s": 45.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71887,
    "c": 0.12018,
    "h": 100.7
  },
  "luminance": 0.37501
}

Semantic roles & 50–950 ramp

primary
#B5A643
secondary
#8F96C5
accent
#63D652
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B5A643

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

Preview Lab → · Contrast checker → · Palette generator →

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