#B3AB35#B3AB35

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

Color values

HEX#B3AB35
RGBrgb(179, 171, 53)
HSLhsl(56, 54%, 45%)
HSVhsv(56, 70%, 70%)
CMYKcmyk(0%, 4.5%, 70.4%, 29.8%)
CIE-LABlab(68.73, -10.98, 58.61)
CIE-LCHlch(68.73, 59.63, 100.61°)
OKLaboklab(72.67% -0.036 0.1304)
OKLCHoklch(72.67% 0.135 105.4)
XYZxyz(33.7973, 38.9678, 9.1087)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB35 #353DB3
analogous
#B36C35 #B3AB35 #7CB335
triadic
#B3AB35 #35B3AB #AB35B3
tetradic
#B3AB35 #35B36C #353DB3 #B3357C
square
#B3AB35 #35B36C #353DB3 #B3357C
split-complementary
#B3AB35 #357CB3 #6C35B3
monochromatic
#555119 #847E27 #B3AB35 #CDC658 #DBD687

Accessibility & contrast

On white

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

On black

8.79
#B3AB35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB35
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB35#FFFFFF#000000##000000
##B3AB351.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3ab35;
/* rgb */ color: rgb(179, 171, 53);
/* oklch */ color: oklch(72.7% 0.135 105.4);
Tailwind
colors: {
  custom: {
    50: '#cdc374',
    500: '#b3ab35',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab35;
$custom-light: #cdc374;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab35",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 53
  },
  "hsl": {
    "h": 56.19,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72665,
    "c": 0.13531,
    "h": 105.4
  },
  "luminance": 0.38967
}

Semantic roles & 50–950 ramp

primary
#B3AB35
secondary
#7F83C5
accent
#53DE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3AB35

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

Preview Lab → · Contrast checker → · Palette generator →

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