#B4A442#B4A442

#B4A442 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.119 H 100.0°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B4A442
RGBrgb(180, 164, 66)
HSLhsl(52, 46%, 48%)
HSVhsv(52, 63%, 71%)
CMYKcmyk(0%, 8.9%, 63.3%, 29.4%)
CIE-LABlab(67.01, -6.10, 51.46)
CIE-LCHlch(67.01, 51.82, 96.76°)
OKLaboklab(71.36% -0.0208 0.1174)
OKLCHoklch(71.36% 0.119 100)
XYZxyz(33.0826, 36.6490, 10.4846)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A442 #4252B4
analogous
#B46B42 #B4A442 #8BB442
triadic
#B4A442 #42B4A4 #A442B4
tetradic
#B4A442 #42B46B #4252B4 #B4428B
square
#B4A442 #42B46B #4252B4 #B4428B
split-complementary
#B4A442 #428BB4 #6B42B4
monochromatic
#5A5221 #877B32 #B4A442 #C9BB6B #D9D097

Accessibility & contrast

On white

2.52
#B4A442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#B4A442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A442
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A442#FFFFFF#000000##000000
##B4A4421.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A037
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#C1998F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a442;
/* rgb */ color: rgb(180, 164, 66);
/* oklch */ color: oklch(71.4% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#cdbe7b',
    500: '#b4a442',
    950: '#000000',
  },
}
SCSS
$custom: #b4a442;
$custom-light: #cdbe7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a442",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 51.579,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71355,
    "c": 0.11922,
    "h": 100
  },
  "luminance": 0.36648
}

Semantic roles & 50–950 ramp

primary
#B4A442
secondary
#8D95C5
accent
#64D652
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B4A442

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

Preview Lab → · Contrast checker → · Palette generator →

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