#B2AB3D#B2AB3D

#B2AB3D is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.6% C 0.130 H 105.7°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B2AB3D
RGBrgb(178, 171, 61)
HSLhsl(56, 49%, 47%)
HSVhsv(56, 66%, 70%)
CMYKcmyk(0%, 3.9%, 65.7%, 30.2%)
CIE-LABlab(68.70, -10.96, 55.35)
CIE-LCHlch(68.70, 56.43, 101.20°)
OKLaboklab(72.64% -0.0351 0.1249)
OKLCHoklch(72.64% 0.13 105.7)
XYZxyz(33.7666, 38.9289, 10.1493)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB3D #3D44B2
analogous
#B2713D #B2AB3D #7FB23D
triadic
#B2AB3D #3DB2AB #AB3DB2
tetradic
#B2AB3D #3DB271 #3D44B2 #B23D7F
square
#B2AB3D #3DB271 #3D44B2 #B23D7F
split-complementary
#B2AB3D #3D7FB2 #713DB2
monochromatic
#57531E #847F2D #B2AB3D #C9C363 #D9D590

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AB3D#FFFFFF#000000##000000
##B2AB3D1.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)
#B9A52E
Deuteranopia (green-blind)
#BCAA44
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ab3d;
/* rgb */ color: rgb(178, 171, 61);
/* oklch */ color: oklch(72.6% 0.130 105.7);
Tailwind
colors: {
  custom: {
    50: '#ccc378',
    500: '#b2ab3d',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab3d;
$custom-light: #ccc378;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab3d",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 56.41,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7264,
    "c": 0.12976,
    "h": 105.7
  },
  "luminance": 0.38928
}

Semantic roles & 50–950 ramp

primary
#B2AB3D
secondary
#878AC4
accent
#58D94F
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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