#B2AA35#B2AA35

#B2AA35 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.134 H 105.4°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B2AA35
RGBrgb(178, 170, 53)
HSLhsl(56, 54%, 45%)
HSVhsv(56, 70%, 70%)
CMYKcmyk(0%, 4.5%, 70.2%, 30.2%)
CIE-LABlab(68.37, -10.89, 58.23)
CIE-LCHlch(68.37, 59.24, 100.60°)
OKLaboklab(72.36% -0.0357 0.1296)
OKLCHoklch(72.36% 0.134 105.4)
XYZxyz(33.3788, 38.4727, 9.0352)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA35 #353DB2
analogous
#B26B35 #B2AA35 #7BB235
triadic
#B2AA35 #35B2AA #AA35B2
tetradic
#B2AA35 #35B26B #353DB2 #B2357B
square
#B2AA35 #35B26B #353DB2 #B2357B
split-complementary
#B2AA35 #357BB2 #6B35B2
monochromatic
#545019 #837D27 #B2AA35 #CDC557 #DBD686

Accessibility & contrast

On white

2.42
#B2AA35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B2AA35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA35
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA35#FFFFFF#000000##000000
##B2AA351.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A422
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#BF9F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa35;
/* rgb */ color: rgb(178, 170, 53);
/* oklch */ color: oklch(72.4% 0.134 105.4);
Tailwind
colors: {
  custom: {
    50: '#ccc374',
    500: '#b2aa35',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa35;
$custom-light: #ccc374;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa35",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 53
  },
  "hsl": {
    "h": 56.16,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72357,
    "c": 0.13448,
    "h": 105.4
  },
  "luminance": 0.38471
}

Semantic roles & 50–950 ramp

primary
#B2AA35
secondary
#7E82C5
accent
#54DD4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AA35

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

Preview Lab → · Contrast checker → · Palette generator →

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