#B4AE2B#B4AE2B

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

Color values

HEX#B4AE2B
RGBrgb(180, 174, 43)
HSLhsl(57, 61%, 44%)
HSVhsv(57, 76%, 71%)
CMYKcmyk(0%, 3.3%, 76.1%, 29.4%)
CIE-LABlab(69.58, -12.56, 63.01)
CIE-LCHlch(69.58, 64.25, 101.27°)
OKLaboklab(73.34% -0.0415 0.1379)
OKLCHoklch(73.34% 0.144 106.7)
XYZxyz(34.3959, 40.1511, 8.2231)
Luminance0.4015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AE2B #2B31B4
analogous
#B4692B #B4AE2B #75B42B
triadic
#B4AE2B #2BB4AE #AE2BB4
tetradic
#B4AE2B #2BB469 #2B31B4 #B42B75
square
#B4AE2B #2BB469 #2B31B4 #B42B75
split-complementary
#B4AE2B #2B75B4 #692BB4
monochromatic
#514E13 #837E1F #B4AE2B #D3CD49 #DFDB7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AE2B#FFFFFF#000000##000000
##B4AE2B1.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)
#BDA70B
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#C1A295
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b4ae2b;
/* rgb */ color: rgb(180, 174, 43);
/* oklch */ color: oklch(73.3% 0.144 106.7);
Tailwind
colors: {
  custom: {
    50: '#cec56f',
    500: '#b4ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #b4ae2b;
$custom-light: #cec56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ae2b",
  "rgb": {
    "r": 180,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 57.372,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73343,
    "c": 0.14397,
    "h": 106.7
  },
  "luminance": 0.4015
}

Semantic roles & 50–950 ramp

primary
#B4AE2B
secondary
#7377C7
accent
#4AE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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