#B5AE33#B5AE33

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

Color values

HEX#B5AE33
RGBrgb(181, 174, 51)
HSLhsl(57, 56%, 45%)
HSVhsv(57, 72%, 71%)
CMYKcmyk(0%, 3.9%, 71.8%, 29%)
CIE-LABlab(69.71, -11.76, 60.38)
CIE-LCHlch(69.71, 61.52, 101.03°)
OKLaboklab(73.48% -0.0385 0.1337)
OKLCHoklch(73.48% 0.139 106.1)
XYZxyz(34.7910, 40.3361, 9.0843)
Luminance0.4033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE33 #333AB5
analogous
#B56D33 #B5AE33 #7BB533
triadic
#B5AE33 #33B5AE #AE33B5
tetradic
#B5AE33 #33B56D #333AB5 #B5337B
square
#B5AE33 #33B56D #333AB5 #B5337B
split-complementary
#B5AE33 #337BB5 #6D33B5
monochromatic
#565218 #858026 #B5AE33 #CFC956 #DDD886

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AE33#FFFFFF#000000##000000
##B5AE331.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)
#BDA81E
Deuteranopia (green-blind)
#C0AD3C
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ae33;
/* rgb */ color: rgb(181, 174, 51);
/* oklch */ color: oklch(73.5% 0.139 106.1);
Tailwind
colors: {
  custom: {
    50: '#cfc573',
    500: '#b5ae33',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae33;
$custom-light: #cfc573;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae33",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 51
  },
  "hsl": {
    "h": 56.769,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73483,
    "c": 0.13918,
    "h": 106.1
  },
  "luminance": 0.40335
}

Semantic roles & 50–950 ramp

primary
#B5AE33
secondary
#7D81C6
accent
#51DF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AE33

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

Preview Lab → · Contrast checker → · Palette generator →

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