#B5AE42#B5AE42

#B5AE42 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.129 H 105.6°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#B5AE42
RGBrgb(181, 174, 66)
HSLhsl(56, 47%, 48%)
HSVhsv(56, 64%, 71%)
CMYKcmyk(0%, 3.9%, 63.5%, 29%)
CIE-LABlab(69.82, -10.92, 54.49)
CIE-LCHlch(69.82, 55.57, 101.33°)
OKLaboklab(73.61% -0.0346 0.1238)
OKLCHoklch(73.61% 0.129 105.6)
XYZxyz(35.1767, 40.4904, 11.1157)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE42 #4249B5
analogous
#B57442 #B5AE42 #82B542
triadic
#B5AE42 #42B5AE #AE42B5
tetradic
#B5AE42 #42B574 #4249B5 #B54282
square
#B5AE42 #42B574 #4249B5 #B54282
split-complementary
#B5AE42 #4282B5 #7442B5
monochromatic
#5B5821 #888332 #B5AE42 #C9C36B #D9D598

Accessibility & contrast

On white

2.31
#B5AE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#B5AE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AE42
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AE42#FFFFFF#000000##000000
##B5AE421.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA835
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#C2A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b5ae42;
/* rgb */ color: rgb(181, 174, 66);
/* oklch */ color: oklch(73.6% 0.129 105.6);
Tailwind
colors: {
  custom: {
    50: '#cec57b',
    500: '#b5ae42',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae42;
$custom-light: #cec57b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae42",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 56.348,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73605,
    "c": 0.12852,
    "h": 105.6
  },
  "luminance": 0.40489
}

Semantic roles & 50–950 ramp

primary
#B5AE42
secondary
#8E91C5
accent
#5AD652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B5AE42

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

Preview Lab → · Contrast checker → · Palette generator →

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