#B2AA41#B2AA41

#B2AA41 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.5% C 0.126 H 105.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B2AA41
RGBrgb(178, 170, 65)
HSLhsl(56, 47%, 48%)
HSVhsv(56, 63%, 70%)
CMYKcmyk(0%, 4.5%, 63.5%, 30.2%)
CIE-LABlab(68.46, -10.19, 53.40)
CIE-LCHlch(68.46, 54.36, 100.81°)
OKLaboklab(72.46% -0.0324 0.1214)
OKLCHoklch(72.46% 0.126 105)
XYZxyz(33.6902, 38.5973, 10.6754)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA41 #4149B2
analogous
#B27141 #B2AA41 #82B241
triadic
#B2AA41 #41B2AA #AA41B2
tetradic
#B2AA41 #41B271 #4149B2 #B24182
square
#B2AA41 #41B271 #4149B2 #B24182
split-complementary
#B2AA41 #4182B2 #7141B2
monochromatic
#585420 #857F31 #B2AA41 #C8C168 #D8D495

Accessibility & contrast

On white

2.41
#B2AA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B2AA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA41
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA41#FFFFFF#000000##000000
##B2AA411.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A434
Deuteranopia (green-blind)
#BBA947
Tritanopia (blue-blind)
#BF9F94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa41;
/* rgb */ color: rgb(178, 170, 65);
/* oklch */ color: oklch(72.5% 0.126 105.0);
Tailwind
colors: {
  custom: {
    50: '#ccc37b',
    500: '#b2aa41',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa41;
$custom-light: #ccc37b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa41",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 65
  },
  "hsl": {
    "h": 55.752,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72458,
    "c": 0.12567,
    "h": 105
  },
  "luminance": 0.38596
}

Semantic roles & 50–950 ramp

primary
#B2AA41
secondary
#8B8FC4
accent
#5BD652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AA41

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

Preview Lab → · Contrast checker → · Palette generator →

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