#B5AE3D#B5AE3D

#B5AE3D is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.6% C 0.132 H 105.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#B5AE3D
RGBrgb(181, 174, 61)
HSLhsl(57, 50%, 47%)
HSVhsv(57, 66%, 71%)
CMYKcmyk(0%, 3.9%, 66.3%, 29%)
CIE-LABlab(69.78, -11.23, 56.55)
CIE-LCHlch(69.78, 57.65, 101.23°)
OKLaboklab(73.56% -0.036 0.1274)
OKLCHoklch(73.56% 0.132 105.8)
XYZxyz(35.0357, 40.4340, 10.3730)
Luminance0.4043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE3D #3D44B5
analogous
#B5723D #B5AE3D #80B53D
triadic
#B5AE3D #3DB5AE #AE3DB5
tetradic
#B5AE3D #3DB572 #3D44B5 #B53D80
square
#B5AE3D #3DB572 #3D44B5 #B53D80
split-complementary
#B5AE3D #3D80B5 #723DB5
monochromatic
#59561E #87822E #B5AE3D #CBC564 #DAD692

Accessibility & contrast

On white

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

On black

9.09
#B5AE3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AE3D
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AE3D#FFFFFF#000000##000000
##B5AE3D1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82E
Deuteranopia (green-blind)
#BFAD44
Tritanopia (blue-blind)
#C2A397
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ae3d;
/* rgb */ color: rgb(181, 174, 61);
/* oklch */ color: oklch(73.6% 0.132 105.8);
Tailwind
colors: {
  custom: {
    50: '#cec579',
    500: '#b5ae3d',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae3d;
$custom-light: #cec579;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae3d",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 61
  },
  "hsl": {
    "h": 56.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7356,
    "c": 0.13236,
    "h": 105.8
  },
  "luminance": 0.40433
}

Semantic roles & 50–950 ramp

primary
#B5AE3D
secondary
#888CC5
accent
#57D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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