#B5AC34#B5AC34

#B5AC34 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.1% C 0.137 H 105.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#B5AC34
RGBrgb(181, 172, 52)
HSLhsl(56, 55%, 46%)
HSVhsv(56, 71%, 71%)
CMYKcmyk(0%, 5%, 71.3%, 29%)
CIE-LABlab(69.17, -10.68, 59.48)
CIE-LCHlch(69.17, 60.43, 100.18°)
OKLaboklab(73.05% -0.0354 0.132)
OKLCHoklch(73.05% 0.137 105)
XYZxyz(34.4298, 39.5780, 9.0739)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC34 #343DB5
analogous
#B56B34 #B5AC34 #7DB534
triadic
#B5AC34 #34B5AC #AC34B5
tetradic
#B5AC34 #34B56B #343DB5 #B5347D
square
#B5AC34 #34B56B #343DB5 #B5347D
split-complementary
#B5AC34 #347DB5 #6B34B5
monochromatic
#565219 #857F26 #B5AC34 #CFC757 #DCD787

Accessibility & contrast

On white

2.36
#B5AC34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#B5AC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AC34
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AC34#FFFFFF#000000##000000
##B5AC341.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA620
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#C2A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ac34;
/* rgb */ color: rgb(181, 172, 52);
/* oklch */ color: oklch(73.1% 0.137 105.0);
Tailwind
colors: {
  custom: {
    50: '#cfc473',
    500: '#b5ac34',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac34;
$custom-light: #cfc473;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac34",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 55.814,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73054,
    "c": 0.13668,
    "h": 105
  },
  "luminance": 0.39577
}

Semantic roles & 50–950 ramp

primary
#B5AC34
secondary
#7F84C6
accent
#54DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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