#B5AE2B#B5AE2B

#B5AE2B 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#B5AE2B
RGBrgb(181, 174, 43)
HSLhsl(57, 62%, 44%)
HSVhsv(57, 76%, 71%)
CMYKcmyk(0%, 3.9%, 76.2%, 29%)
CIE-LABlab(69.66, -12.12, 63.12)
CIE-LCHlch(69.66, 64.27, 100.87°)
OKLaboklab(73.43% -0.0403 0.1381)
OKLCHoklch(73.43% 0.144 106.3)
XYZxyz(34.6296, 40.2716, 8.2341)
Luminance0.4027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE2B #2B32B5
analogous
#B5692B #B5AE2B #77B52B
triadic
#B5AE2B #2BB5AE #AE2BB5
tetradic
#B5AE2B #2BB569 #2B32B5 #B52B77
square
#B5AE2B #2BB569 #2B32B5 #B52B77
split-complementary
#B5AE2B #2B77B5 #692BB5
monochromatic
#524F14 #847E1F #B5AE2B #D4CD49 #E0DA7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AE2B#FFFFFF#000000##000000
##B5AE2B1.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)
#BDA70B
Deuteranopia (green-blind)
#C0AD35
Tritanopia (blue-blind)
#C3A295
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ae2b;
/* rgb */ color: rgb(181, 174, 43);
/* oklch */ color: oklch(73.4% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#cfc56f',
    500: '#b5ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae2b;
$custom-light: #cfc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae2b",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 56.957,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73432,
    "c": 0.14382,
    "h": 106.3
  },
  "luminance": 0.4027
}

Semantic roles & 50–950 ramp

primary
#B5AE2B
secondary
#7478C8
accent
#4BE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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