#B5AE3A#B5AE3A

#B5AE3A 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#B5AE3A
RGBrgb(181, 174, 58)
HSLhsl(57, 51%, 47%)
HSVhsv(57, 68%, 71%)
CMYKcmyk(0%, 3.9%, 68%, 29%)
CIE-LABlab(69.76, -11.40, 57.74)
CIE-LCHlch(69.76, 58.86, 101.17°)
OKLaboklab(73.54% -0.0368 0.1294)
OKLCHoklch(73.54% 0.135 105.9)
XYZxyz(34.9572, 40.4026, 9.9593)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE3A #3A41B5
analogous
#B5703A #B5AE3A #7FB53A
triadic
#B5AE3A #3AB5AE #AE3AB5
tetradic
#B5AE3A #3AB570 #3A41B5 #B53A7F
square
#B5AE3A #3AB570 #3A41B5 #B53A7F
split-complementary
#B5AE3A #3A7FB5 #703AB5
monochromatic
#58551C #87812B #B5AE3A #CCC660 #DBD78E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AE3A#FFFFFF#000000##000000
##B5AE3A1.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)
#BDA829
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#C2A397
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ae3a;
/* rgb */ color: rgb(181, 174, 58);
/* oklch */ color: oklch(73.5% 0.135 105.9);
Tailwind
colors: {
  custom: {
    50: '#cec577',
    500: '#b5ae3a',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae3a;
$custom-light: #cec577;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae3a",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 56.585,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73535,
    "c": 0.13452,
    "h": 105.9
  },
  "luminance": 0.40401
}

Semantic roles & 50–950 ramp

primary
#B5AE3A
secondary
#8589C6
accent
#55DB4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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