#B5AC2E#B5AC2E

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

Color values

HEX#B5AC2E
RGBrgb(181, 172, 46)
HSLhsl(56, 59%, 45%)
HSVhsv(56, 75%, 71%)
CMYKcmyk(0%, 5%, 74.6%, 29%)
CIE-LABlab(69.13, -10.96, 61.61)
CIE-LCHlch(69.13, 62.58, 100.08°)
OKLaboklab(73.01% -0.0368 0.1354)
OKLCHoklch(73.01% 0.14 105.2)
XYZxyz(34.3032, 39.5274, 8.4069)
Luminance0.3953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC2E #2E37B5
analogous
#B5692E #B5AC2E #7BB52E
triadic
#B5AC2E #2EB5AC #AC2EB5
tetradic
#B5AC2E #2EB569 #2E37B5 #B52E7B
square
#B5AC2E #2EB569 #2E37B5 #B52E7B
split-complementary
#B5AC2E #2E7BB5 #692EB5
monochromatic
#534F15 #847E22 #B5AC2E #D2C94E #DED87F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AC2E#FFFFFF#000000##000000
##B5AC2E1.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)
#BBA614
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#C3A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ac2e;
/* rgb */ color: rgb(181, 172, 46);
/* oklch */ color: oklch(73.0% 0.140 105.2);
Tailwind
colors: {
  custom: {
    50: '#cfc470',
    500: '#b5ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac2e;
$custom-light: #cfc470;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac2e",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 56,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73014,
    "c": 0.14033,
    "h": 105.2
  },
  "luminance": 0.39526
}

Semantic roles & 50–950 ramp

primary
#B5AC2E
secondary
#787DC7
accent
#50E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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