#B5AE2A#B5AE2A

#B5AE2A is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.4% C 0.144 H 106.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#B5AE2A
RGBrgb(181, 174, 42)
HSLhsl(57, 62%, 44%)
HSVhsv(57, 77%, 71%)
CMYKcmyk(0%, 3.9%, 76.8%, 29%)
CIE-LABlab(69.66, -12.16, 63.44)
CIE-LCHlch(69.66, 64.59, 100.85°)
OKLaboklab(73.43% -0.0405 0.1386)
OKLCHoklch(73.43% 0.144 106.3)
XYZxyz(34.6115, 40.2643, 8.1387)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE2A #2A31B5
analogous
#B5682A #B5AE2A #76B52A
triadic
#B5AE2A #2AB5AE #AE2AB5
tetradic
#B5AE2A #2AB568 #2A31B5 #B52A76
square
#B5AE2A #2AB568 #2A31B5 #B52A76
split-complementary
#B5AE2A #2A76B5 #682AB5
monochromatic
#524E13 #837E1E #B5AE2A #D4CD48 #E0DB79

Accessibility & contrast

On white

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

On black

9.05
#B5AE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AE2A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AE2A#FFFFFF#000000##000000
##B5AE2A1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA707
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#C3A295
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ae2a;
/* rgb */ color: rgb(181, 174, 42);
/* oklch */ color: oklch(73.4% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#cfc56f',
    500: '#b5ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae2a;
$custom-light: #cfc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae2a",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 56.978,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73426,
    "c": 0.14435,
    "h": 106.3
  },
  "luminance": 0.40263
}

Semantic roles & 50–950 ramp

primary
#B5AE2A
secondary
#7377C8
accent
#4BE542
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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