#B2AF32#B2AF32

#B2AF32 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.4% C 0.141 H 108.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#B2AF32
RGBrgb(178, 175, 50)
HSLhsl(59, 56%, 45%)
HSVhsv(59, 72%, 70%)
CMYKcmyk(0%, 1.7%, 71.9%, 30.2%)
CIE-LABlab(69.72, -13.63, 60.67)
CIE-LCHlch(69.72, 62.18, 102.66°)
OKLaboklab(73.43% -0.0437 0.1343)
OKLCHoklch(73.43% 0.141 108)
XYZxyz(34.2671, 40.3563, 9.0015)
Luminance0.4036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF32 #3235B2
analogous
#B26F32 #B2AF32 #75B232
triadic
#B2AF32 #32B2AF #AF32B2
tetradic
#B2AF32 #32B26F #3235B2 #B23275
square
#B2AF32 #32B26F #3235B2 #B23275
split-complementary
#B2AF32 #3275B2 #6F32B2
monochromatic
#525117 #828025 #B2AF32 #CFCC53 #DCDA82

Accessibility & contrast

On white

2.32
#B2AF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#B2AF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AF32
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AF32#FFFFFF#000000##000000
##B2AF321.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81B
Deuteranopia (green-blind)
#C0AC3B
Tritanopia (blue-blind)
#BFA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2af32;
/* rgb */ color: rgb(178, 175, 50);
/* oklch */ color: oklch(73.4% 0.141 108.0);
Tailwind
colors: {
  custom: {
    50: '#ccc673',
    500: '#b2af32',
    950: '#000000',
  },
}
SCSS
$custom: #b2af32;
$custom-light: #ccc673;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af32",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 58.594,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73431,
    "c": 0.14121,
    "h": 108
  },
  "luminance": 0.40355
}

Semantic roles & 50–950 ramp

primary
#B2AF32
secondary
#7B7CC5
accent
#4CDF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2AF32

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

Preview Lab → · Contrast checker → · Palette generator →

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