#B3AF33#B3AF33

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

Color values

HEX#B3AF33
RGBrgb(179, 175, 51)
HSLhsl(58, 56%, 45%)
HSVhsv(58, 72%, 70%)
CMYKcmyk(0%, 2.2%, 71.5%, 29.8%)
CIE-LABlab(69.81, -13.15, 60.42)
CIE-LCHlch(69.81, 61.84, 102.28°)
OKLaboklab(73.52% -0.0423 0.1339)
OKLCHoklch(73.52% 0.14 107.5)
XYZxyz(34.5192, 40.4838, 9.1272)
Luminance0.4048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF33 #3337B3
analogous
#B36F33 #B3AF33 #77B333
triadic
#B3AF33 #33B3AF #AF33B3
tetradic
#B3AF33 #33B36F #3337B3 #B33377
square
#B3AF33 #33B36F #3337B3 #B33377
split-complementary
#B3AF33 #3377B3 #6F33B3
monochromatic
#545218 #838025 #B3AF33 #CECB55 #DCD984

Accessibility & contrast

On white

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

On black

9.10
#B3AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF33
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF33#FFFFFF#000000##000000
##B3AF331.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3af33;
/* rgb */ color: rgb(179, 175, 51);
/* oklch */ color: oklch(73.5% 0.140 107.5);
Tailwind
colors: {
  custom: {
    50: '#cdc673',
    500: '#b3af33',
    950: '#000000',
  },
}
SCSS
$custom: #b3af33;
$custom-light: #cdc673;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af33",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 58.125,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73525,
    "c": 0.14043,
    "h": 107.5
  },
  "luminance": 0.40483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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