#B4AE2D#B4AE2D

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

Color values

HEX#B4AE2D
RGBrgb(180, 174, 45)
HSLhsl(57, 60%, 44%)
HSVhsv(57, 75%, 71%)
CMYKcmyk(0%, 3.3%, 75%, 29.4%)
CIE-LABlab(69.59, -12.47, 62.35)
CIE-LCHlch(69.59, 63.59, 101.31°)
OKLaboklab(73.36% -0.0411 0.1369)
OKLCHoklch(73.36% 0.143 106.7)
XYZxyz(34.4335, 40.1661, 8.4211)
Luminance0.4017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AE2D #2D33B4
analogous
#B46B2D #B4AE2D #77B42D
triadic
#B4AE2D #2DB4AE #AE2DB4
tetradic
#B4AE2D #2DB46B #2D33B4 #B42D77
square
#B4AE2D #2DB46B #2D33B4 #B42D77
split-complementary
#B4AE2D #2D77B4 #6B2DB4
monochromatic
#524F15 #837F21 #B4AE2D #D2CC4C #DEDA7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AE2D#FFFFFF#000000##000000
##B4AE2D1.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4ae2d;
/* rgb */ color: rgb(180, 174, 45);
/* oklch */ color: oklch(73.4% 0.143 106.7);
Tailwind
colors: {
  custom: {
    50: '#cec570',
    500: '#b4ae2d',
    950: '#000000',
  },
}
SCSS
$custom: #b4ae2d;
$custom-light: #cec570;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ae2d",
  "rgb": {
    "r": 180,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 57.333,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73355,
    "c": 0.14288,
    "h": 106.7
  },
  "luminance": 0.40165
}

Semantic roles & 50–950 ramp

primary
#B4AE2D
secondary
#7679C7
accent
#4CE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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