#B4AE1B#B4AE1B

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

Color values

HEX#B4AE1B
RGBrgb(180, 174, 27)
HSLhsl(58, 74%, 41%)
HSVhsv(58, 85%, 71%)
CMYKcmyk(0%, 3.3%, 85%, 29.4%)
CIE-LABlab(69.51, -13.09, 67.43)
CIE-LCHlch(69.51, 68.69, 100.99°)
OKLaboklab(73.27% -0.0442 0.1444)
OKLCHoklch(73.27% 0.151 107)
XYZxyz(34.1578, 40.0558, 6.9690)
Luminance0.4006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AE1B #1B21B4
analogous
#B4611B #B4AE1B #6DB41B
triadic
#B4AE1B #1BB4AE #AE1BB4
tetradic
#B4AE1B #1BB461 #1B21B4 #B41B6D
square
#B4AE1B #1BB461 #1B21B4 #B41B6D
split-complementary
#B4AE1B #1B6DB4 #611BB4
monochromatic
#4A470B #7F7B13 #B4AE1B #DFD82D #E7E262

Accessibility & contrast

On white

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

On black

9.01
#B4AE1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AE1B
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AE1B#FFFFFF#000000##000000
##B4AE1B1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#C0AC2A
Tritanopia (blue-blind)
#C2A294
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b4ae1b;
/* rgb */ color: rgb(180, 174, 27);
/* oklch */ color: oklch(73.3% 0.151 107.0);
Tailwind
colors: {
  custom: {
    50: '#cfc569',
    500: '#b4ae1b',
    950: '#000000',
  },
}
SCSS
$custom: #b4ae1b;
$custom-light: #cfc569;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ae1b",
  "rgb": {
    "r": 180,
    "g": 174,
    "b": 27
  },
  "hsl": {
    "h": 57.647,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.73267,
    "c": 0.15105,
    "h": 107
  },
  "luminance": 0.40055
}

Semantic roles & 50–950 ramp

primary
#B4AE1B
secondary
#5F63CC
accent
#3FF137
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B4AE1B

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

Preview Lab → · Contrast checker → · Palette generator →

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