#B4AE31#B4AE31

#B4AE31 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.141 H 106.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#B4AE31
RGBrgb(180, 174, 49)
HSLhsl(57, 57%, 45%)
HSVhsv(57, 73%, 71%)
CMYKcmyk(0%, 3.3%, 72.8%, 29.4%)
CIE-LABlab(69.61, -12.29, 60.98)
CIE-LCHlch(69.61, 62.21, 101.40°)
OKLaboklab(73.38% -0.0402 0.1347)
OKLCHoklch(73.38% 0.141 106.6)
XYZxyz(34.5142, 40.1984, 8.8461)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AE31 #3137B4
analogous
#B46D31 #B4AE31 #78B431
triadic
#B4AE31 #31B4AE #AE31B4
tetradic
#B4AE31 #31B46D #3137B4 #B43178
square
#B4AE31 #31B46D #3137B4 #B43178
split-complementary
#B4AE31 #3178B4 #6D31B4
monochromatic
#545117 #847F24 #B4AE31 #D0CA52 #DDD982

Accessibility & contrast

On white

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

On black

9.04
#B4AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AE31
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AE31#FFFFFF#000000##000000
##B4AE311.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71A
Deuteranopia (green-blind)
#C0AC3A
Tritanopia (blue-blind)
#C1A296
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b4ae31;
/* rgb */ color: rgb(180, 174, 49);
/* oklch */ color: oklch(73.4% 0.141 106.6);
Tailwind
colors: {
  custom: {
    50: '#cec572',
    500: '#b4ae31',
    950: '#000000',
  },
}
SCSS
$custom: #b4ae31;
$custom-light: #cec572;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ae31",
  "rgb": {
    "r": 180,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 57.252,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7338,
    "c": 0.14055,
    "h": 106.6
  },
  "luminance": 0.40197
}

Semantic roles & 50–950 ramp

primary
#B4AE31
secondary
#7B7EC6
accent
#4EE047
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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