#B5AC3F#B5AC3F

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

Color values

HEX#B5AC3F
RGBrgb(181, 172, 63)
HSLhsl(55, 48%, 48%)
HSVhsv(55, 65%, 71%)
CMYKcmyk(0%, 5%, 65.2%, 29%)
CIE-LABlab(69.25, -10.07, 55.16)
CIE-LCHlch(69.25, 56.07, 100.34°)
OKLaboklab(73.14% -0.0325 0.1248)
OKLCHoklch(73.14% 0.129 104.6)
XYZxyz(34.7071, 39.6890, 10.5342)
Luminance0.3969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC3F #3F48B5
analogous
#B5713F #B5AC3F #83B53F
triadic
#B5AC3F #3FB5AC #AC3FB5
tetradic
#B5AC3F #3FB571 #3F48B5 #B53F83
square
#B5AC3F #3FB571 #3F48B5 #B53F83
split-complementary
#B5AC3F #3F83B5 #713FB5
monochromatic
#5A561F #88812F #B5AC3F #CAC367 #DAD594

Accessibility & contrast

On white

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

On black

8.94
#B5AC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AC3F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AC3F#FFFFFF#000000##000000
##B5AC3F1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ac3f;
/* rgb */ color: rgb(181, 172, 63);
/* oklch */ color: oklch(73.1% 0.129 104.6);
Tailwind
colors: {
  custom: {
    50: '#cec47a',
    500: '#b5ac3f',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac3f;
$custom-light: #cec47a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac3f",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 55.424,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73143,
    "c": 0.12892,
    "h": 104.6
  },
  "luminance": 0.39688
}

Semantic roles & 50–950 ramp

primary
#B5AC3F
secondary
#8A8FC5
accent
#5AD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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