#B5AE39#B5AE39

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

Color values

HEX#B5AE39
RGBrgb(181, 174, 57)
HSLhsl(57, 52%, 47%)
HSVhsv(57, 69%, 71%)
CMYKcmyk(0%, 3.9%, 68.5%, 29%)
CIE-LABlab(69.75, -11.45, 58.13)
CIE-LCHlch(69.75, 59.25, 101.15°)
OKLaboklab(73.53% -0.0371 0.13)
OKLCHoklch(73.53% 0.135 105.9)
XYZxyz(34.9320, 40.3925, 9.8266)
Luminance0.4039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE39 #3940B5
analogous
#B57039 #B5AE39 #7EB539
triadic
#B5AE39 #39B5AE #AE39B5
tetradic
#B5AE39 #39B570 #3940B5 #B5397E
square
#B5AE39 #39B570 #3940B5 #B5397E
split-complementary
#B5AE39 #397EB5 #7039B5
monochromatic
#58551C #86812A #B5AE39 #CDC65F #DBD78D

Accessibility & contrast

On white

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

On black

9.08
#B5AE39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AE39
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AE39#FFFFFF#000000##000000
##B5AE391.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ae39;
/* rgb */ color: rgb(181, 174, 57);
/* oklch */ color: oklch(73.5% 0.135 105.9);
Tailwind
colors: {
  custom: {
    50: '#cec576',
    500: '#b5ae39',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae39;
$custom-light: #cec576;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae39",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 57
  },
  "hsl": {
    "h": 56.613,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73527,
    "c": 0.13522,
    "h": 105.9
  },
  "luminance": 0.40391
}

Semantic roles & 50–950 ramp

primary
#B5AE39
secondary
#8488C6
accent
#54DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AE39

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

Preview Lab → · Contrast checker → · Palette generator →

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