#B4AE28#B4AE28

#B4AE28 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.146 H 106.8°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#B4AE28
RGBrgb(180, 174, 40)
HSLhsl(57, 64%, 43%)
HSVhsv(57, 78%, 71%)
CMYKcmyk(0%, 3.3%, 77.8%, 29.4%)
CIE-LABlab(69.56, -12.68, 63.95)
CIE-LCHlch(69.56, 65.19, 101.21°)
OKLaboklab(73.33% -0.0421 0.1393)
OKLCHoklch(73.33% 0.146 106.8)
XYZxyz(34.3429, 40.1299, 7.9439)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AE28 #282EB4
analogous
#B46828 #B4AE28 #74B428
triadic
#B4AE28 #28B4AE #AE28B4
tetradic
#B4AE28 #28B468 #282EB4 #B42874
square
#B4AE28 #28B468 #282EB4 #B42874
split-complementary
#B4AE28 #2874B4 #6828B4
monochromatic
#504D12 #827E1D #B4AE28 #D5CF44 #E1DC76

Accessibility & contrast

On white

2.33
#B4AE28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#B4AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AE28
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AE28#FFFFFF#000000##000000
##B4AE281.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA701
Deuteranopia (green-blind)
#C0AC33
Tritanopia (blue-blind)
#C2A295
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b4ae28;
/* rgb */ color: rgb(180, 174, 40);
/* oklch */ color: oklch(73.3% 0.146 106.8);
Tailwind
colors: {
  custom: {
    50: '#cec56e',
    500: '#b4ae28',
    950: '#000000',
  },
}
SCSS
$custom: #b4ae28;
$custom-light: #cec56e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ae28",
  "rgb": {
    "r": 180,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 57.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73326,
    "c": 0.14552,
    "h": 106.8
  },
  "luminance": 0.40129
}

Semantic roles & 50–950 ramp

primary
#B4AE28
secondary
#7074C8
accent
#48E741
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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