#B9AF33#B9AF33

#B9AF33 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.1% C 0.140 H 104.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B9AF33
RGBrgb(185, 175, 51)
HSLhsl(56, 57%, 46%)
HSVhsv(56, 72%, 73%)
CMYKcmyk(0%, 5.4%, 72.4%, 27.5%)
CIE-LABlab(70.33, -10.54, 61.10)
CIE-LCHlch(70.33, 62.00, 99.79°)
OKLaboklab(74.06% -0.0353 0.1351)
OKLCHoklch(74.06% 0.14 104.7)
XYZxyz(35.9366, 41.2147, 9.1936)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AF33 #333DB9
analogous
#B96C33 #B9AF33 #80B933
triadic
#B9AF33 #33B9AF #AF33B9
tetradic
#B9AF33 #33B96C #333DB9 #B93380
square
#B9AF33 #33B96C #333DB9 #B93380
split-complementary
#B9AF33 #3380B9 #6C33B9
monochromatic
#595419 #898226 #B9AF33 #D1C858 #DED888

Accessibility & contrast

On white

2.27
#B9AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B9AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AF33
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AF33#FFFFFF#000000##000000
##B9AF331.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91D
Deuteranopia (green-blind)
#C2AE3C
Tritanopia (blue-blind)
#C7A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b9af33;
/* rgb */ color: rgb(185, 175, 51);
/* oklch */ color: oklch(74.1% 0.140 104.7);
Tailwind
colors: {
  custom: {
    50: '#d2c673',
    500: '#b9af33',
    950: '#000000',
  },
}
SCSS
$custom: #b9af33;
$custom-light: #d2c673;
$custom-dark: #000000;
JSON
{
  "hex": "#b9af33",
  "rgb": {
    "r": 185,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 55.522,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74058,
    "c": 0.13966,
    "h": 104.7
  },
  "luminance": 0.41213
}

Semantic roles & 50–950 ramp

primary
#B9AF33
secondary
#8085C8
accent
#53E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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