#B2AA4C#B2AA4C

#B2AA4C is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.116 H 104.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B2AA4C
RGBrgb(178, 170, 76)
HSLhsl(55, 40%, 50%)
HSVhsv(55, 57%, 70%)
CMYKcmyk(0%, 4.5%, 57.3%, 30.2%)
CIE-LABlab(68.56, -9.41, 48.54)
CIE-LCHlch(68.56, 49.44, 100.97°)
OKLaboklab(72.57% -0.0289 0.1126)
OKLCHoklch(72.57% 0.116 104.4)
XYZxyz(34.0404, 38.7374, 12.5200)
Luminance0.3874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA4C #4C54B2
analogous
#B2774C #B2AA4C #87B24C
triadic
#B2AA4C #4CB2AA #AA4CB2
tetradic
#B2AA4C #4CB277 #4C54B2 #B24C87
square
#B2AA4C #4CB277 #4C54B2 #B24C87
split-complementary
#B2AA4C #4C87B2 #774CB2
monochromatic
#5C5827 #87813A #B2AA4C #C5BF76 #D7D3A1

Accessibility & contrast

On white

2.40
#B2AA4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B2AA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA4C
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA4C#FFFFFF#000000##000000
##B2AA4C1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A542
Deuteranopia (green-blind)
#BAA951
Tritanopia (blue-blind)
#BEA095
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa4c;
/* rgb */ color: rgb(178, 170, 76);
/* oklch */ color: oklch(72.6% 0.116 104.4);
Tailwind
colors: {
  custom: {
    50: '#cbc381',
    500: '#b2aa4c',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa4c;
$custom-light: #cbc381;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa4c",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 76
  },
  "hsl": {
    "h": 55.294,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72572,
    "c": 0.11623,
    "h": 104.4
  },
  "luminance": 0.38736
}

Semantic roles & 50–950 ramp

primary
#B2AA4C
secondary
#9699C4
accent
#61D058
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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