#B4AE3A#B4AE3A

#B4AE3A is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.4% C 0.135 H 106.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#B4AE3A
RGBrgb(180, 174, 58)
HSLhsl(57, 51%, 47%)
HSVhsv(57, 68%, 71%)
CMYKcmyk(0%, 3.3%, 67.8%, 29.4%)
CIE-LABlab(69.67, -11.83, 57.63)
CIE-LCHlch(69.67, 58.83, 101.60°)
OKLaboklab(73.45% -0.038 0.1292)
OKLCHoklch(73.45% 0.135 106.4)
XYZxyz(34.7235, 40.2821, 9.9483)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AE3A #3A40B4
analogous
#B4713A #B4AE3A #7DB43A
triadic
#B4AE3A #3AB4AE #AE3AB4
tetradic
#B4AE3A #3AB471 #3A40B4 #B43A7D
square
#B4AE3A #3AB471 #3A40B4 #B43A7D
split-complementary
#B4AE3A #3A7DB4 #713AB4
monochromatic
#57551C #86812B #B4AE3A #CCC660 #DBD78E

Accessibility & contrast

On white

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

On black

9.06
#B4AE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AE3A
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AE3A#FFFFFF#000000##000000
##B4AE3A1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA829
Deuteranopia (green-blind)
#BFAC42
Tritanopia (blue-blind)
#C1A397
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b4ae3a;
/* rgb */ color: rgb(180, 174, 58);
/* oklch */ color: oklch(73.4% 0.135 106.4);
Tailwind
colors: {
  custom: {
    50: '#cec577',
    500: '#b4ae3a',
    950: '#000000',
  },
}
SCSS
$custom: #b4ae3a;
$custom-light: #cec577;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ae3a",
  "rgb": {
    "r": 180,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 57.049,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73447,
    "c": 0.13464,
    "h": 106.4
  },
  "luminance": 0.40281
}

Semantic roles & 50–950 ramp

primary
#B4AE3A
secondary
#8588C5
accent
#54DB4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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