#B5AC30#B5AC30

#B5AC30 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.139 H 105.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B5AC30
RGBrgb(181, 172, 48)
HSLhsl(56, 58%, 45%)
HSVhsv(56, 73%, 71%)
CMYKcmyk(0%, 5%, 73.5%, 29%)
CIE-LABlab(69.14, -10.87, 60.92)
CIE-LCHlch(69.14, 61.88, 100.12°)
OKLaboklab(73.03% -0.0363 0.1343)
OKLCHoklch(73.03% 0.139 105.1)
XYZxyz(34.3435, 39.5435, 8.6194)
Luminance0.3954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC30 #3039B5
analogous
#B56A30 #B5AC30 #7BB530
triadic
#B5AC30 #30B5AC #AC30B5
tetradic
#B5AC30 #30B56A #3039B5 #B5307B
square
#B5AC30 #30B56A #3039B5 #B5307B
split-complementary
#B5AC30 #307BB5 #6A30B5
monochromatic
#545016 #857E23 #B5AC30 #D1C851 #DED882

Accessibility & contrast

On white

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

On black

8.91
#B5AC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AC30
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AC30#FFFFFF#000000##000000
##B5AC301.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA619
Deuteranopia (green-blind)
#BFAB39
Tritanopia (blue-blind)
#C3A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ac30;
/* rgb */ color: rgb(181, 172, 48);
/* oklch */ color: oklch(73.0% 0.139 105.1);
Tailwind
colors: {
  custom: {
    50: '#cfc471',
    500: '#b5ac30',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac30;
$custom-light: #cfc471;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac30",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 55.94,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73027,
    "c": 0.13916,
    "h": 105.1
  },
  "luminance": 0.39542
}

Semantic roles & 50–950 ramp

primary
#B5AC30
secondary
#7A7FC7
accent
#51E146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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