#B2AB46#B2AB46

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

Color values

HEX#B2AB46
RGBrgb(178, 171, 70)
HSLhsl(56, 44%, 49%)
HSVhsv(56, 61%, 70%)
CMYKcmyk(0%, 3.9%, 60.7%, 30.2%)
CIE-LABlab(68.78, -10.37, 51.53)
CIE-LCHlch(68.78, 52.56, 101.38°)
OKLaboklab(72.72% -0.0324 0.1182)
OKLCHoklch(72.72% 0.123 105.3)
XYZxyz(34.0297, 39.0341, 11.5350)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB46 #464DB2
analogous
#B27546 #B2AB46 #83B246
triadic
#B2AB46 #46B2AB #AB46B2
tetradic
#B2AB46 #46B275 #464DB2 #B24683
square
#B2AB46 #46B275 #464DB2 #B24683
split-complementary
#B2AB46 #4683B2 #7546B2
monochromatic
#5A5723 #868135 #B2AB46 #C6C16F #D8D49B

Accessibility & contrast

On white

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

On black

8.81
#B2AB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB46
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB46#FFFFFF#000000##000000
##B2AB461.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A53B
Deuteranopia (green-blind)
#BCAA4C
Tritanopia (blue-blind)
#BEA095
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ab46;
/* rgb */ color: rgb(178, 171, 70);
/* oklch */ color: oklch(72.7% 0.123 105.3);
Tailwind
colors: {
  custom: {
    50: '#ccc37e',
    500: '#b2ab46',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab46;
$custom-light: #ccc37e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab46",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 70
  },
  "hsl": {
    "h": 56.111,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72725,
    "c": 0.12254,
    "h": 105.3
  },
  "luminance": 0.39033
}

Semantic roles & 50–950 ramp

primary
#B2AB46
secondary
#9093C4
accent
#5DD355
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AB46

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

Preview Lab → · Contrast checker → · Palette generator →

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