#B4AE2A#B4AE2A

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

Color values

HEX#B4AE2A
RGBrgb(180, 174, 42)
HSLhsl(57, 62%, 44%)
HSVhsv(57, 77%, 71%)
CMYKcmyk(0%, 3.3%, 76.7%, 29.4%)
CIE-LABlab(69.57, -12.60, 63.33)
CIE-LCHlch(69.57, 64.57, 101.25°)
OKLaboklab(73.34% -0.0417 0.1384)
OKLCHoklch(73.34% 0.145 106.8)
XYZxyz(34.3778, 40.1438, 8.1277)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AE2A #2A30B4
analogous
#B4692A #B4AE2A #75B42A
triadic
#B4AE2A #2AB4AE #AE2AB4
tetradic
#B4AE2A #2AB469 #2A30B4 #B42A75
square
#B4AE2A #2AB469 #2A30B4 #B42A75
split-complementary
#B4AE2A #2A75B4 #692AB4
monochromatic
#514E13 #827E1E #B4AE2A #D4CE47 #E0DB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AE2A#FFFFFF#000000##000000
##B4AE2A1.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)
#BDA707
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#C2A295
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b4ae2a;
/* rgb */ color: rgb(180, 174, 42);
/* oklch */ color: oklch(73.3% 0.144 106.8);
Tailwind
colors: {
  custom: {
    50: '#cec56f',
    500: '#b4ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #b4ae2a;
$custom-light: #cec56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ae2a",
  "rgb": {
    "r": 180,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 57.391,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73337,
    "c": 0.1445,
    "h": 106.8
  },
  "luminance": 0.40143
}

Semantic roles & 50–950 ramp

primary
#B4AE2A
secondary
#7276C8
accent
#4AE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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