#B2AB36#B2AB36

#B2AB36 is a light, vivid yellow. Relative luminance 0.389; 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#B2AB36
RGBrgb(178, 171, 54)
HSLhsl(57, 53%, 45%)
HSVhsv(57, 70%, 70%)
CMYKcmyk(0%, 3.9%, 69.7%, 30.2%)
CIE-LABlab(68.65, -11.36, 58.12)
CIE-LCHlch(68.65, 59.22, 101.06°)
OKLaboklab(72.58% -0.0369 0.1296)
OKLCHoklch(72.58% 0.135 105.9)
XYZxyz(33.5902, 38.8583, 9.2203)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB36 #363DB2
analogous
#B26D36 #B2AB36 #7BB236
triadic
#B2AB36 #36B2AB #AB36B2
tetradic
#B2AB36 #36B26D #363DB2 #B2367B
square
#B2AB36 #36B26D #363DB2 #B2367B
split-complementary
#B2AB36 #367BB2 #6D36B2
monochromatic
#54511A #837E28 #B2AB36 #CDC659 #DBD688

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AB36#FFFFFF#000000##000000
##B2AB361.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)
#BAA524
Deuteranopia (green-blind)
#BCAA3E
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2ab36;
/* rgb */ color: rgb(178, 171, 54);
/* oklch */ color: oklch(72.6% 0.135 105.9);
Tailwind
colors: {
  custom: {
    50: '#ccc374',
    500: '#b2ab36',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab36;
$custom-light: #ccc374;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab36",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 56.613,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72583,
    "c": 0.13476,
    "h": 105.9
  },
  "luminance": 0.38857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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