#B5AE32#B5AE32

#B5AE32 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.140 H 106.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#B5AE32
RGBrgb(181, 174, 50)
HSLhsl(57, 57%, 45%)
HSVhsv(57, 72%, 71%)
CMYKcmyk(0%, 3.9%, 72.4%, 29%)
CIE-LABlab(69.70, -11.81, 60.74)
CIE-LCHlch(69.70, 61.88, 101.01°)
OKLaboklab(73.48% -0.0388 0.1343)
OKLCHoklch(73.48% 0.14 106.1)
XYZxyz(34.7692, 40.3274, 8.9695)
Luminance0.4033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE32 #3239B5
analogous
#B56C32 #B5AE32 #7AB532
triadic
#B5AE32 #32B5AE #AE32B5
tetradic
#B5AE32 #32B56C #3239B5 #B5327A
square
#B5AE32 #32B56C #3239B5 #B5327A
split-complementary
#B5AE32 #327AB5 #6C32B5
monochromatic
#555218 #858025 #B5AE32 #D0C954 #DDD884

Accessibility & contrast

On white

2.32
#B5AE32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#B5AE32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AE32
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AE32#FFFFFF#000000##000000
##B5AE321.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71C
Deuteranopia (green-blind)
#C0AD3B
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ae32;
/* rgb */ color: rgb(181, 174, 50);
/* oklch */ color: oklch(73.5% 0.140 106.1);
Tailwind
colors: {
  custom: {
    50: '#cfc573',
    500: '#b5ae32',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae32;
$custom-light: #cfc573;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae32",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 50
  },
  "hsl": {
    "h": 56.794,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73476,
    "c": 0.1398,
    "h": 106.1
  },
  "luminance": 0.40326
}

Semantic roles & 50–950 ramp

primary
#B5AE32
secondary
#7C80C7
accent
#50E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AE32

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

Preview Lab → · Contrast checker → · Palette generator →

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