#B5AC3E#B5AC3E

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

Color values

HEX#B5AC3E
RGBrgb(181, 172, 62)
HSLhsl(55, 49%, 48%)
HSVhsv(55, 66%, 71%)
CMYKcmyk(0%, 5%, 65.7%, 29%)
CIE-LABlab(69.24, -10.13, 55.58)
CIE-LCHlch(69.24, 56.49, 100.33°)
OKLaboklab(73.13% -0.0328 0.1255)
OKLCHoklch(73.13% 0.13 104.6)
XYZxyz(34.6794, 39.6779, 10.3883)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC3E #3E47B5
analogous
#B5703E #B5AC3E #83B53E
triadic
#B5AC3E #3EB5AC #AC3EB5
tetradic
#B5AC3E #3EB570 #3E47B5 #B53E83
square
#B5AC3E #3EB570 #3E47B5 #B53E83
split-complementary
#B5AC3E #3E83B5 #703EB5
monochromatic
#5A551F #87812E #B5AC3E #CAC366 #DAD593

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AC3E#FFFFFF#000000##000000
##B5AC3E1.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)
#BBA630
Deuteranopia (green-blind)
#BEAB45
Tritanopia (blue-blind)
#C2A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ac3e;
/* rgb */ color: rgb(181, 172, 62);
/* oklch */ color: oklch(73.1% 0.130 104.6);
Tailwind
colors: {
  custom: {
    50: '#cec479',
    500: '#b5ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac3e;
$custom-light: #cec479;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac3e",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 55.462,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73134,
    "c": 0.12969,
    "h": 104.6
  },
  "luminance": 0.39677
}

Semantic roles & 50–950 ramp

primary
#B5AC3E
secondary
#898EC5
accent
#5AD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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