#B1AF33#B1AF33

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

Color values

HEX#B1AF33
RGBrgb(177, 175, 51)
HSLhsl(59, 55%, 45%)
HSVhsv(59, 71%, 69%)
CMYKcmyk(0%, 1.1%, 71.2%, 30.6%)
CIE-LABlab(69.65, -14.01, 60.20)
CIE-LCHlch(69.65, 61.81, 103.10°)
OKLaboklab(73.35% -0.0446 0.1335)
OKLCHoklch(73.35% 0.141 108.5)
XYZxyz(34.0602, 40.2471, 9.1056)
Luminance0.4025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AF33 #3335B1
analogous
#B17033 #B1AF33 #74B133
triadic
#B1AF33 #33B1AF #AF33B1
tetradic
#B1AF33 #33B170 #3335B1 #B13374
square
#B1AF33 #33B170 #3335B1 #B13374
split-complementary
#B1AF33 #3374B1 #7033B1
monochromatic
#525118 #818025 #B1AF33 #CECC54 #DBDA83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AF33#FFFFFF#000000##000000
##B1AF331.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)
#BDA81D
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#BEA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b1af33;
/* rgb */ color: rgb(177, 175, 51);
/* oklch */ color: oklch(73.4% 0.141 108.5);
Tailwind
colors: {
  custom: {
    50: '#ccc673',
    500: '#b1af33',
    950: '#000000',
  },
}
SCSS
$custom: #b1af33;
$custom-light: #ccc673;
$custom-dark: #000000;
JSON
{
  "hex": "#b1af33",
  "rgb": {
    "r": 177,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 59.048,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73351,
    "c": 0.14077,
    "h": 108.5
  },
  "luminance": 0.40246
}

Semantic roles & 50–950 ramp

primary
#B1AF33
secondary
#7B7CC5
accent
#4CDF49
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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