#B4A42E#B4A42E

#B4A42E is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.133 H 101.3°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B4A42E
RGBrgb(180, 164, 46)
HSLhsl(53, 59%, 44%)
HSVhsv(53, 74%, 71%)
CMYKcmyk(0%, 8.9%, 74.4%, 29.4%)
CIE-LABlab(66.86, -7.21, 59.44)
CIE-LCHlch(66.86, 59.88, 96.91°)
OKLaboklab(71.19% -0.0261 0.1309)
OKLCHoklch(71.19% 0.133 101.3)
XYZxyz(32.5925, 36.4530, 7.9036)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A42E #2E3EB4
analogous
#B4612E #B4A42E #81B42E
triadic
#B4A42E #2EB4A4 #A42EB4
tetradic
#B4A42E #2EB461 #2E3EB4 #B42E81
square
#B4A42E #2EB461 #2E3EB4 #B42E81
split-complementary
#B4A42E #2E81B4 #612EB4
monochromatic
#534B15 #837822 #B4A42E #D2C24E #DED37E

Accessibility & contrast

On white

2.53
#B4A42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B4A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A42E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A42E#FFFFFF#000000##000000
##B4A42E1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F18
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#C2988D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a42e;
/* rgb */ color: rgb(180, 164, 46);
/* oklch */ color: oklch(71.2% 0.133 101.3);
Tailwind
colors: {
  custom: {
    50: '#cebe6f',
    500: '#b4a42e',
    950: '#000000',
  },
}
SCSS
$custom: #b4a42e;
$custom-light: #cebe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a42e",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 52.836,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7119,
    "c": 0.13344,
    "h": 101.3
  },
  "luminance": 0.36451
}

Semantic roles & 50–950 ramp

primary
#B4A42E
secondary
#7781C7
accent
#58E245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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