#B5AE36#B5AE36

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

Color values

HEX#B5AE36
RGBrgb(181, 174, 54)
HSLhsl(57, 54%, 46%)
HSVhsv(57, 70%, 71%)
CMYKcmyk(0%, 3.9%, 70.2%, 29%)
CIE-LABlab(69.73, -11.61, 59.28)
CIE-LCHlch(69.73, 60.40, 101.09°)
OKLaboklab(73.5% -0.0378 0.1319)
OKLCHoklch(73.5% 0.137 106)
XYZxyz(34.8593, 40.3635, 9.4440)
Luminance0.4036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE36 #363DB5
analogous
#B56E36 #B5AE36 #7CB536
triadic
#B5AE36 #36B5AE #AE36B5
tetradic
#B5AE36 #36B56E #363DB5 #B5367C
square
#B5AE36 #36B56E #363DB5 #B5367C
split-complementary
#B5AE36 #367CB5 #6E36B5
monochromatic
#57531A #868128 #B5AE36 #CEC85A #DCD789

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AE36#FFFFFF#000000##000000
##B5AE361.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ae36;
/* rgb */ color: rgb(181, 174, 54);
/* oklch */ color: oklch(73.5% 0.137 106.0);
Tailwind
colors: {
  custom: {
    50: '#cfc575',
    500: '#b5ae36',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae36;
$custom-light: #cfc575;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae36",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 54
  },
  "hsl": {
    "h": 56.693,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73504,
    "c": 0.13726,
    "h": 106
  },
  "luminance": 0.40362
}

Semantic roles & 50–950 ramp

primary
#B5AE36
secondary
#8185C6
accent
#52DD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AE36

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

Preview Lab → · Contrast checker → · Palette generator →

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