#B8AF37#B8AF37

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

Color values

HEX#B8AF37
RGBrgb(184, 175, 55)
HSLhsl(56, 54%, 47%)
HSVhsv(56, 70%, 72%)
CMYKcmyk(0%, 4.9%, 70.1%, 27.8%)
CIE-LABlab(70.27, -10.78, 59.51)
CIE-LCHlch(70.27, 60.48, 100.27°)
OKLaboklab(74% -0.0355 0.1325)
OKLCHoklch(74% 0.137 105)
XYZxyz(35.7882, 41.1275, 9.6669)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF37 #3740B8
analogous
#B86F37 #B8AF37 #81B837
triadic
#B8AF37 #37B8AF #AF37B8
tetradic
#B8AF37 #37B86F #3740B8 #B83781
square
#B8AF37 #37B86F #3740B8 #B83781
split-complementary
#B8AF37 #3781B8 #6F37B8
monochromatic
#5A551B #898229 #B8AF37 #CFC75D #DDD78D

Accessibility & contrast

On white

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

On black

9.23
#B8AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AF37
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AF37#FFFFFF#000000##000000
##B8AF371.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8af37;
/* rgb */ color: rgb(184, 175, 55);
/* oklch */ color: oklch(74.0% 0.137 105.0);
Tailwind
colors: {
  custom: {
    50: '#d1c675',
    500: '#b8af37',
    950: '#000000',
  },
}
SCSS
$custom: #b8af37;
$custom-light: #d1c675;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af37",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 55.814,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73997,
    "c": 0.13719,
    "h": 105
  },
  "luminance": 0.41126
}

Semantic roles & 50–950 ramp

primary
#B8AF37
secondary
#8488C7
accent
#55DD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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