#B1AF32#B1AF32

#B1AF32 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.3% C 0.141 H 108.5°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#B1AF32
RGBrgb(177, 175, 50)
HSLhsl(59, 56%, 45%)
HSVhsv(59, 72%, 69%)
CMYKcmyk(0%, 1.1%, 71.8%, 30.6%)
CIE-LABlab(69.64, -14.06, 60.56)
CIE-LCHlch(69.64, 62.17, 103.07°)
OKLaboklab(73.34% -0.0449 0.1341)
OKLCHoklch(73.34% 0.141 108.5)
XYZxyz(34.0384, 40.2384, 8.9908)
Luminance0.4024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AF32 #3234B1
analogous
#B17032 #B1AF32 #74B132
triadic
#B1AF32 #32B1AF #AF32B1
tetradic
#B1AF32 #32B170 #3234B1 #B13274
square
#B1AF32 #32B170 #3234B1 #B13274
split-complementary
#B1AF32 #3274B1 #7032B1
monochromatic
#525117 #818025 #B1AF32 #CECC52 #DCDA82

Accessibility & contrast

On white

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

On black

9.05
#B1AF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AF32
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AF32#FFFFFF#000000##000000
##B1AF321.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA81B
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#BEA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b1af32;
/* rgb */ color: rgb(177, 175, 50);
/* oklch */ color: oklch(73.3% 0.141 108.5);
Tailwind
colors: {
  custom: {
    50: '#ccc673',
    500: '#b1af32',
    950: '#000000',
  },
}
SCSS
$custom: #b1af32;
$custom-light: #ccc673;
$custom-dark: #000000;
JSON
{
  "hex": "#b1af32",
  "rgb": {
    "r": 177,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 59.055,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73344,
    "c": 0.1414,
    "h": 108.5
  },
  "luminance": 0.40237
}

Semantic roles & 50–950 ramp

primary
#B1AF32
secondary
#7A7BC5
accent
#4BDF49
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B1AF32

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

Preview Lab → · Contrast checker → · Palette generator →

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