#B2AB35#B2AB35

#B2AB35 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.135 H 105.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B2AB35
RGBrgb(178, 171, 53)
HSLhsl(57, 54%, 45%)
HSVhsv(57, 70%, 70%)
CMYKcmyk(0%, 3.9%, 70.2%, 30.2%)
CIE-LABlab(68.64, -11.41, 58.50)
CIE-LCHlch(68.64, 59.60, 101.04°)
OKLaboklab(72.58% -0.0372 0.1302)
OKLCHoklch(72.58% 0.135 105.9)
XYZxyz(33.5669, 38.8490, 9.0979)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB35 #353CB2
analogous
#B26C35 #B2AB35 #7AB235
triadic
#B2AB35 #35B2AB #AB35B2
tetradic
#B2AB35 #35B26C #353CB2 #B2357A
square
#B2AB35 #35B26C #353CB2 #B2357A
split-complementary
#B2AB35 #357AB2 #6C35B2
monochromatic
#545019 #837E27 #B2AB35 #CDC657 #DBD686

Accessibility & contrast

On white

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

On black

8.77
#B2AB35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB35
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB35#FFFFFF#000000##000000
##B2AB351.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ab35;
/* rgb */ color: rgb(178, 171, 53);
/* oklch */ color: oklch(72.6% 0.135 105.9);
Tailwind
colors: {
  custom: {
    50: '#ccc374',
    500: '#b2ab35',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab35;
$custom-light: #ccc374;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab35",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 53
  },
  "hsl": {
    "h": 56.64,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72575,
    "c": 0.13543,
    "h": 105.9
  },
  "luminance": 0.38848
}

Semantic roles & 50–950 ramp

primary
#B2AB35
secondary
#7E82C5
accent
#53DD4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AB35

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

Preview Lab → · Contrast checker → · Palette generator →

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