#B4AB2B#B4AB2B

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

Color values

HEX#B4AB2B
RGBrgb(180, 171, 43)
HSLhsl(56, 61%, 44%)
HSVhsv(56, 76%, 71%)
CMYKcmyk(0%, 5%, 76.1%, 29.4%)
CIE-LABlab(68.75, -11.00, 62.25)
CIE-LCHlch(68.75, 63.22, 100.02°)
OKLaboklab(72.69% -0.0371 0.1363)
OKLCHoklch(72.69% 0.141 105.2)
XYZxyz(33.8228, 39.0049, 8.0321)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB2B #2B34B4
analogous
#B4662B #B4AB2B #78B42B
triadic
#B4AB2B #2BB4AB #AB2BB4
tetradic
#B4AB2B #2BB466 #2B34B4 #B42B78
square
#B4AB2B #2BB466 #2B34B4 #B42B78
split-complementary
#B4AB2B #2B78B4 #662BB4
monochromatic
#514D13 #837C1F #B4AB2B #D3CA49 #DFD97A

Accessibility & contrast

On white

2.39
#B4AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#B4AB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB2B
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB2B#FFFFFF#000000##000000
##B4AB2B1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4ab2b;
/* rgb */ color: rgb(180, 171, 43);
/* oklch */ color: oklch(72.7% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#cec36f',
    500: '#b4ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab2b;
$custom-light: #cec36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab2b",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 56.058,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72688,
    "c": 0.14122,
    "h": 105.2
  },
  "luminance": 0.39004
}

Semantic roles & 50–950 ramp

primary
#B4AB2B
secondary
#7379C7
accent
#4EE543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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