#B8AF33#B8AF33

#B8AF33 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.0% C 0.140 H 105.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#B8AF33
RGBrgb(184, 175, 51)
HSLhsl(56, 57%, 46%)
HSVhsv(56, 72%, 72%)
CMYKcmyk(0%, 4.9%, 72.3%, 27.8%)
CIE-LABlab(70.24, -10.98, 60.98)
CIE-LCHlch(70.24, 61.96, 100.21°)
OKLaboklab(73.97% -0.0365 0.1349)
OKLCHoklch(73.97% 0.14 105.1)
XYZxyz(35.6961, 41.0907, 9.1823)
Luminance0.4109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF33 #333CB8
analogous
#B86C33 #B8AF33 #7EB833
triadic
#B8AF33 #33B8AF #AF33B8
tetradic
#B8AF33 #33B86C #333CB8 #B8337E
square
#B8AF33 #33B86C #333CB8 #B8337E
split-complementary
#B8AF33 #337EB8 #6C33B8
monochromatic
#585418 #888126 #B8AF33 #D1C858 #DED888

Accessibility & contrast

On white

2.28
#B8AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#B8AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AF33
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AF33#FFFFFF#000000##000000
##B8AF331.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8af33;
/* rgb */ color: rgb(184, 175, 51);
/* oklch */ color: oklch(74.0% 0.140 105.1);
Tailwind
colors: {
  custom: {
    50: '#d1c673',
    500: '#b8af33',
    950: '#000000',
  },
}
SCSS
$custom: #b8af33;
$custom-light: #d1c673;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af33",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 55.94,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73968,
    "c": 0.13975,
    "h": 105.1
  },
  "luminance": 0.41089
}

Semantic roles & 50–950 ramp

primary
#B8AF33
secondary
#7F84C8
accent
#52E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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