#B4AF33#B4AF33

#B4AF33 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.6% C 0.140 H 107.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#B4AF33
RGBrgb(180, 175, 51)
HSLhsl(58, 56%, 45%)
HSVhsv(58, 72%, 71%)
CMYKcmyk(0%, 2.8%, 71.7%, 29.4%)
CIE-LABlab(69.90, -12.72, 60.53)
CIE-LCHlch(69.90, 61.86, 101.86°)
OKLaboklab(73.61% -0.0412 0.1341)
OKLCHoklch(73.61% 0.14 107.1)
XYZxyz(34.7512, 40.6035, 9.1380)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AF33 #3338B4
analogous
#B46E33 #B4AF33 #79B433
triadic
#B4AF33 #33B4AF #AF33B4
tetradic
#B4AF33 #33B46E #3338B4 #B43379
square
#B4AF33 #33B46E #3338B4 #B43379
split-complementary
#B4AF33 #3379B4 #6E33B4
monochromatic
#555218 #848125 #B4AF33 #CFCA55 #DCD985

Accessibility & contrast

On white

2.30
#B4AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#B4AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AF33
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AF33#FFFFFF#000000##000000
##B4AF331.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81D
Deuteranopia (green-blind)
#C0AD3C
Tritanopia (blue-blind)
#C1A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4af33;
/* rgb */ color: rgb(180, 175, 51);
/* oklch */ color: oklch(73.6% 0.140 107.1);
Tailwind
colors: {
  custom: {
    50: '#cec673',
    500: '#b4af33',
    950: '#000000',
  },
}
SCSS
$custom: #b4af33;
$custom-light: #cec673;
$custom-dark: #000000;
JSON
{
  "hex": "#b4af33",
  "rgb": {
    "r": 180,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 57.674,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73613,
    "c": 0.14027,
    "h": 107.1
  },
  "luminance": 0.40602
}

Semantic roles & 50–950 ramp

primary
#B4AF33
secondary
#7D80C6
accent
#4EDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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