#B9AF37#B9AF37

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

Color values

HEX#B9AF37
RGBrgb(185, 175, 55)
HSLhsl(55, 54%, 47%)
HSVhsv(55, 70%, 73%)
CMYKcmyk(0%, 5.4%, 70.3%, 27.5%)
CIE-LABlab(70.35, -10.35, 59.63)
CIE-LCHlch(70.35, 60.52, 99.84°)
OKLaboklab(74.09% -0.0344 0.1327)
OKLCHoklch(74.09% 0.137 104.5)
XYZxyz(36.0286, 41.2515, 9.6782)
Luminance0.4125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AF37 #3741B9
analogous
#B96E37 #B9AF37 #82B937
triadic
#B9AF37 #37B9AF #AF37B9
tetradic
#B9AF37 #37B96E #3741B9 #B93782
square
#B9AF37 #37B96E #3741B9 #B93782
split-complementary
#B9AF37 #3782B9 #6E37B9
monochromatic
#5B561B #8A8229 #B9AF37 #CFC65E #DDD78D

Accessibility & contrast

On white

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

On black

9.25
#B9AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AF37
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AF37#FFFFFF#000000##000000
##B9AF371.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9af37;
/* rgb */ color: rgb(185, 175, 55);
/* oklch */ color: oklch(74.1% 0.137 104.5);
Tailwind
colors: {
  custom: {
    50: '#d1c675',
    500: '#b9af37',
    950: '#000000',
  },
}
SCSS
$custom: #b9af37;
$custom-light: #d1c675;
$custom-dark: #000000;
JSON
{
  "hex": "#b9af37",
  "rgb": {
    "r": 185,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 55.385,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74086,
    "c": 0.1371,
    "h": 104.5
  },
  "luminance": 0.4125
}

Semantic roles & 50–950 ramp

primary
#B9AF37
secondary
#8489C8
accent
#56DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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