#B2AA4D#B2AA4D

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

Color values

HEX#B2AA4D
RGBrgb(178, 170, 77)
HSLhsl(55, 40%, 50%)
HSVhsv(55, 57%, 70%)
CMYKcmyk(0%, 4.5%, 56.7%, 30.2%)
CIE-LABlab(68.57, -9.33, 48.08)
CIE-LCHlch(68.57, 48.98, 100.98°)
OKLaboklab(72.58% -0.0286 0.1117)
OKLCHoklch(72.58% 0.115 104.4)
XYZxyz(34.0755, 38.7514, 12.7045)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA4D #4D55B2
analogous
#B2784D #B2AA4D #87B24D
triadic
#B2AA4D #4DB2AA #AA4DB2
tetradic
#B2AA4D #4DB278 #4D55B2 #B24D87
square
#B2AA4D #4DB278 #4D55B2 #B24D87
split-complementary
#B2AA4D #4D87B2 #784DB2
monochromatic
#5D5828 #87813B #B2AA4D #C4BE78 #D7D3A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AA4D#FFFFFF#000000##000000
##B2AA4D1.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)
#B7A544
Deuteranopia (green-blind)
#BAA952
Tritanopia (blue-blind)
#BEA095
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa4d;
/* rgb */ color: rgb(178, 170, 77);
/* oklch */ color: oklch(72.6% 0.115 104.4);
Tailwind
colors: {
  custom: {
    50: '#cbc382',
    500: '#b2aa4d',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa4d;
$custom-light: #cbc382;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa4d",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 77
  },
  "hsl": {
    "h": 55.248,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.72584,
    "c": 0.11532,
    "h": 104.4
  },
  "luminance": 0.3875
}

Semantic roles & 50–950 ramp

primary
#B2AA4D
secondary
#979AC4
accent
#62CF58
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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