#B4AB35#B4AB35

#B4AB35 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.135 H 104.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B4AB35
RGBrgb(180, 171, 53)
HSLhsl(56, 55%, 46%)
HSVhsv(56, 71%, 71%)
CMYKcmyk(0%, 5%, 70.6%, 29.4%)
CIE-LABlab(68.81, -10.54, 58.73)
CIE-LCHlch(68.81, 59.67, 100.18°)
OKLaboklab(72.75% -0.0348 0.1306)
OKLCHoklch(72.75% 0.135 104.9)
XYZxyz(34.0293, 39.0875, 9.1196)
Luminance0.3909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB35 #353EB4
analogous
#B46B35 #B4AB35 #7DB435
triadic
#B4AB35 #35B4AB #AB35B4
tetradic
#B4AB35 #35B46B #353EB4 #B4357D
square
#B4AB35 #35B46B #353EB4 #B4357D
split-complementary
#B4AB35 #357DB4 #6B35B4
monochromatic
#555119 #857E27 #B4AB35 #CEC658 #DCD688

Accessibility & contrast

On white

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

On black

8.82
#B4AB35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB35
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB35#FFFFFF#000000##000000
##B4AB351.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA522
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#C19F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab35;
/* rgb */ color: rgb(180, 171, 53);
/* oklch */ color: oklch(72.8% 0.135 104.9);
Tailwind
colors: {
  custom: {
    50: '#cec374',
    500: '#b4ab35',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab35;
$custom-light: #cec374;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab35",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 53
  },
  "hsl": {
    "h": 55.748,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72754,
    "c": 0.1352,
    "h": 104.9
  },
  "luminance": 0.39086
}

Semantic roles & 50–950 ramp

primary
#B4AB35
secondary
#7F84C6
accent
#54DE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AB35

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

Preview Lab → · Contrast checker → · Palette generator →

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