#B5AE2C#B5AE2C

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

Color values

HEX#B5AE2C
RGBrgb(181, 174, 44)
HSLhsl(57, 61%, 44%)
HSVhsv(57, 76%, 71%)
CMYKcmyk(0%, 3.9%, 75.7%, 29%)
CIE-LABlab(69.67, -12.08, 62.79)
CIE-LCHlch(69.67, 63.94, 100.89°)
OKLaboklab(73.44% -0.0401 0.1376)
OKLCHoklch(73.44% 0.143 106.3)
XYZxyz(34.6482, 40.2790, 8.3319)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE2C #2C33B5
analogous
#B56A2C #B5AE2C #78B52C
triadic
#B5AE2C #2CB5AE #AE2CB5
tetradic
#B5AE2C #2CB56A #2C33B5 #B52C78
square
#B5AE2C #2CB56A #2C33B5 #B52C78
split-complementary
#B5AE2C #2C78B5 #6A2CB5
monochromatic
#534F14 #847F20 #B5AE2C #D3CC4B #DFDA7C

Accessibility & contrast

On white

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

On black

9.06
#B5AE2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AE2C
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AE2C#FFFFFF#000000##000000
##B5AE2C1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ae2c;
/* rgb */ color: rgb(181, 174, 44);
/* oklch */ color: oklch(73.4% 0.143 106.3);
Tailwind
colors: {
  custom: {
    50: '#cfc570',
    500: '#b5ae2c',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae2c;
$custom-light: #cfc570;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae2c",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 44
  },
  "hsl": {
    "h": 56.934,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73438,
    "c": 0.14328,
    "h": 106.3
  },
  "luminance": 0.40278
}

Semantic roles & 50–950 ramp

primary
#B5AE2C
secondary
#7579C8
accent
#4CE444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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