#B4AB2E#B4AB2E

#B4AB2E is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.7% C 0.140 H 105.2°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B4AB2E
RGBrgb(180, 171, 46)
HSLhsl(56, 59%, 44%)
HSVhsv(56, 74%, 71%)
CMYKcmyk(0%, 5%, 74.4%, 29.4%)
CIE-LABlab(68.77, -10.88, 61.24)
CIE-LCHlch(68.77, 62.20, 100.07°)
OKLaboklab(72.71% -0.0365 0.1347)
OKLCHoklch(72.71% 0.14 105.2)
XYZxyz(33.8799, 39.0277, 8.3327)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB2E #2E37B4
analogous
#B4682E #B4AB2E #7AB42E
triadic
#B4AB2E #2EB4AB #AB2EB4
tetradic
#B4AB2E #2EB468 #2E37B4 #B42E7A
square
#B4AB2E #2EB468 #2E37B4 #B42E7A
split-complementary
#B4AB2E #2E7AB4 #682EB4
monochromatic
#534E15 #837D22 #B4AB2E #D2C94E #DED87E

Accessibility & contrast

On white

2.38
#B4AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B4AB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB2E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB2E#FFFFFF#000000##000000
##B4AB2E1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA515
Deuteranopia (green-blind)
#BEAA37
Tritanopia (blue-blind)
#C29F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab2e;
/* rgb */ color: rgb(180, 171, 46);
/* oklch */ color: oklch(72.7% 0.140 105.2);
Tailwind
colors: {
  custom: {
    50: '#cec370',
    500: '#b4ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab2e;
$custom-light: #cec370;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab2e",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 55.97,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72706,
    "c": 0.13954,
    "h": 105.2
  },
  "luminance": 0.39026
}

Semantic roles & 50–950 ramp

primary
#B4AB2E
secondary
#777CC7
accent
#50E245
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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