#B2AA48#B2AA48

#B2AA48 is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.120 H 104.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B2AA48
RGBrgb(178, 170, 72)
HSLhsl(55, 42%, 49%)
HSVhsv(55, 60%, 70%)
CMYKcmyk(0%, 4.5%, 59.6%, 30.2%)
CIE-LABlab(68.52, -9.71, 50.35)
CIE-LCHlch(68.52, 51.27, 100.92°)
OKLaboklab(72.53% -0.0303 0.1159)
OKLCHoklch(72.53% 0.12 104.6)
XYZxyz(33.9057, 38.6835, 11.8103)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA48 #4850B2
analogous
#B27548 #B2AA48 #85B248
triadic
#B2AA48 #48B2AA #AA48B2
tetradic
#B2AA48 #48B275 #4850B2 #B24885
square
#B2AA48 #48B275 #4850B2 #B24885
split-complementary
#B2AA48 #4885B2 #7548B2
monochromatic
#5B5725 #868036 #B2AA48 #C6BF71 #D7D39D

Accessibility & contrast

On white

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

On black

8.74
#B2AA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA48
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA48#FFFFFF#000000##000000
##B2AA481.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A43D
Deuteranopia (green-blind)
#BBA94D
Tritanopia (blue-blind)
#BE9F95
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa48;
/* rgb */ color: rgb(178, 170, 72);
/* oklch */ color: oklch(72.5% 0.120 104.6);
Tailwind
colors: {
  custom: {
    50: '#ccc37f',
    500: '#b2aa48',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa48;
$custom-light: #ccc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa48",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 72
  },
  "hsl": {
    "h": 55.472,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72528,
    "c": 0.1198,
    "h": 104.6
  },
  "luminance": 0.38682
}

Semantic roles & 50–950 ramp

primary
#B2AA48
secondary
#9296C4
accent
#5FD256
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AA48

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

Preview Lab → · Contrast checker → · Palette generator →

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