#B5AE37#B5AE37

#B5AE37 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#B5AE37
RGBrgb(181, 174, 55)
HSLhsl(57, 53%, 46%)
HSVhsv(57, 70%, 71%)
CMYKcmyk(0%, 3.9%, 69.6%, 29%)
CIE-LABlab(69.73, -11.56, 58.90)
CIE-LCHlch(69.73, 60.02, 101.11°)
OKLaboklab(73.51% -0.0376 0.1313)
OKLCHoklch(73.51% 0.137 106)
XYZxyz(34.8831, 40.3729, 9.5690)
Luminance0.4037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE37 #373EB5
analogous
#B56F37 #B5AE37 #7DB537
triadic
#B5AE37 #37B5AE #AE37B5
tetradic
#B5AE37 #37B56F #373EB5 #B5377D
square
#B5AE37 #37B56F #373EB5 #B5377D
split-complementary
#B5AE37 #377DB5 #6F37B5
monochromatic
#57541A #868129 #B5AE37 #CDC75C #DCD78B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AE37#FFFFFF#000000##000000
##B5AE371.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)
#BDA824
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ae37;
/* rgb */ color: rgb(181, 174, 55);
/* oklch */ color: oklch(73.5% 0.137 106.0);
Tailwind
colors: {
  custom: {
    50: '#cec575',
    500: '#b5ae37',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae37;
$custom-light: #cec575;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae37",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 55
  },
  "hsl": {
    "h": 56.667,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73512,
    "c": 0.13658,
    "h": 106
  },
  "luminance": 0.40372
}

Semantic roles & 50–950 ramp

primary
#B5AE37
secondary
#8286C6
accent
#53DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AE37

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

Preview Lab → · Contrast checker → · Palette generator →

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