#B5AC3D#B5AC3D

#B5AC3D is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.1% C 0.130 H 104.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#B5AC3D
RGBrgb(181, 172, 61)
HSLhsl(56, 50%, 47%)
HSVhsv(56, 66%, 71%)
CMYKcmyk(0%, 5%, 66.3%, 29%)
CIE-LABlab(69.23, -10.19, 55.98)
CIE-LCHlch(69.23, 56.90, 100.31°)
OKLaboklab(73.13% -0.0331 0.1262)
OKLCHoklch(73.13% 0.13 104.7)
XYZxyz(34.6522, 39.6670, 10.2452)
Luminance0.3967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC3D #3D46B5
analogous
#B5703D #B5AC3D #82B53D
triadic
#B5AC3D #3DB5AC #AC3DB5
tetradic
#B5AC3D #3DB570 #3D46B5 #B53D82
square
#B5AC3D #3DB570 #3D46B5 #B53D82
split-complementary
#B5AC3D #3D82B5 #703DB5
monochromatic
#59551E #87812E #B5AC3D #CBC364 #DAD592

Accessibility & contrast

On white

2.35
#B5AC3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#B5AC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AC3D
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AC3D#FFFFFF#000000##000000
##B5AC3D1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62E
Deuteranopia (green-blind)
#BEAB44
Tritanopia (blue-blind)
#C2A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ac3d;
/* rgb */ color: rgb(181, 172, 61);
/* oklch */ color: oklch(73.1% 0.130 104.7);
Tailwind
colors: {
  custom: {
    50: '#cec478',
    500: '#b5ac3d',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac3d;
$custom-light: #cec478;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac3d",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 55.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73126,
    "c": 0.13044,
    "h": 104.7
  },
  "luminance": 0.39666
}

Semantic roles & 50–950 ramp

primary
#B5AC3D
secondary
#888DC5
accent
#59D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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