#B3AF32#B3AF32

#B3AF32 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.5% C 0.141 H 107.6°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#B3AF32
RGBrgb(179, 175, 50)
HSLhsl(58, 56%, 45%)
HSVhsv(58, 72%, 70%)
CMYKcmyk(0%, 2.2%, 72.1%, 29.8%)
CIE-LABlab(69.81, -13.20, 60.78)
CIE-LCHlch(69.81, 62.20, 102.25°)
OKLaboklab(73.52% -0.0426 0.1345)
OKLCHoklch(73.52% 0.141 107.6)
XYZxyz(34.4974, 40.4751, 9.0123)
Luminance0.4047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF32 #3236B3
analogous
#B36F32 #B3AF32 #76B332
triadic
#B3AF32 #32B3AF #AF32B3
tetradic
#B3AF32 #32B36F #3236B3 #B33276
square
#B3AF32 #32B36F #3236B3 #B33276
split-complementary
#B3AF32 #3276B3 #6F32B3
monochromatic
#535117 #838025 #B3AF32 #CFCB53 #DCDA83

Accessibility & contrast

On white

2.31
#B3AF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#B3AF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF32
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF32#FFFFFF#000000##000000
##B3AF321.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81B
Deuteranopia (green-blind)
#C0AD3B
Tritanopia (blue-blind)
#C0A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3af32;
/* rgb */ color: rgb(179, 175, 50);
/* oklch */ color: oklch(73.5% 0.141 107.6);
Tailwind
colors: {
  custom: {
    50: '#cdc673',
    500: '#b3af32',
    950: '#000000',
  },
}
SCSS
$custom: #b3af32;
$custom-light: #cdc673;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af32",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 58.14,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73518,
    "c": 0.14105,
    "h": 107.6
  },
  "luminance": 0.40474
}

Semantic roles & 50–950 ramp

primary
#B3AF32
secondary
#7B7DC6
accent
#4DE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3AF32

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

Preview Lab → · Contrast checker → · Palette generator →

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