#B5AC2D#B5AC2D

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

Color values

HEX#B5AC2D
RGBrgb(181, 172, 45)
HSLhsl(56, 60%, 44%)
HSVhsv(56, 75%, 71%)
CMYKcmyk(0%, 5%, 75.1%, 29%)
CIE-LABlab(69.13, -11.00, 61.95)
CIE-LCHlch(69.13, 62.92, 100.07°)
OKLaboklab(73.01% -0.037 0.136)
OKLCHoklch(73.01% 0.141 105.2)
XYZxyz(34.2837, 39.5196, 8.3043)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC2D #2D36B5
analogous
#B5682D #B5AC2D #7AB52D
triadic
#B5AC2D #2DB5AC #AC2DB5
tetradic
#B5AC2D #2DB568 #2D36B5 #B52D7A
square
#B5AC2D #2DB568 #2D36B5 #B52D7A
split-complementary
#B5AC2D #2D7AB5 #682DB5
monochromatic
#534F15 #847D21 #B5AC2D #D3CA4D #DFD87E

Accessibility & contrast

On white

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

On black

8.90
#B5AC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AC2D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AC2D#FFFFFF#000000##000000
##B5AC2D1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ac2d;
/* rgb */ color: rgb(181, 172, 45);
/* oklch */ color: oklch(73.0% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#cfc470',
    500: '#b5ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac2d;
$custom-light: #cfc470;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac2d",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 56.029,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73008,
    "c": 0.1409,
    "h": 105.2
  },
  "luminance": 0.39518
}

Semantic roles & 50–950 ramp

primary
#B5AC2D
secondary
#767CC7
accent
#4FE344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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