#B4AE2C#B4AE2C

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

Color values

HEX#B4AE2C
RGBrgb(180, 174, 44)
HSLhsl(57, 61%, 44%)
HSVhsv(57, 76%, 71%)
CMYKcmyk(0%, 3.3%, 75.6%, 29.4%)
CIE-LABlab(69.58, -12.52, 62.68)
CIE-LCHlch(69.58, 63.92, 101.29°)
OKLaboklab(73.35% -0.0413 0.1374)
OKLCHoklch(73.35% 0.143 106.7)
XYZxyz(34.4145, 40.1585, 8.3210)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AE2C #2C32B4
analogous
#B46A2C #B4AE2C #76B42C
triadic
#B4AE2C #2CB4AE #AE2CB4
tetradic
#B4AE2C #2CB46A #2C32B4 #B42C76
square
#B4AE2C #2CB46A #2C32B4 #B42C76
split-complementary
#B4AE2C #2C76B4 #6A2CB4
monochromatic
#524F14 #837E20 #B4AE2C #D3CD4A #DFDA7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AE2C#FFFFFF#000000##000000
##B4AE2C1.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)
#BDA70E
Deuteranopia (green-blind)
#C0AC36
Tritanopia (blue-blind)
#C1A295
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b4ae2c;
/* rgb */ color: rgb(180, 174, 44);
/* oklch */ color: oklch(73.3% 0.143 106.7);
Tailwind
colors: {
  custom: {
    50: '#cec570',
    500: '#b4ae2c',
    950: '#000000',
  },
}
SCSS
$custom: #b4ae2c;
$custom-light: #cec570;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ae2c",
  "rgb": {
    "r": 180,
    "g": 174,
    "b": 44
  },
  "hsl": {
    "h": 57.353,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73349,
    "c": 0.14343,
    "h": 106.7
  },
  "luminance": 0.40157
}

Semantic roles & 50–950 ramp

primary
#B4AE2C
secondary
#7578C7
accent
#4BE444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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