#B9AF36#B9AF36

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

Color values

HEX#B9AF36
RGBrgb(185, 175, 54)
HSLhsl(55, 55%, 47%)
HSVhsv(55, 71%, 73%)
CMYKcmyk(0%, 5.4%, 70.8%, 27.5%)
CIE-LABlab(70.35, -10.40, 60.00)
CIE-LCHlch(70.35, 60.89, 99.83°)
OKLaboklab(74.08% -0.0346 0.1333)
OKLCHoklch(74.08% 0.138 104.6)
XYZxyz(36.0049, 41.2420, 9.5533)
Luminance0.4124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AF36 #3640B9
analogous
#B96E36 #B9AF36 #82B936
triadic
#B9AF36 #36B9AF #AF36B9
tetradic
#B9AF36 #36B96E #3640B9 #B93682
square
#B9AF36 #36B96E #3640B9 #B93682
split-complementary
#B9AF36 #3682B9 #6E36B9
monochromatic
#5A551A #8A8228 #B9AF36 #D0C75D #DDD78C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9AF36#FFFFFF#000000##000000
##B9AF361.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)
#BEA922
Deuteranopia (green-blind)
#C2AE3E
Tritanopia (blue-blind)
#C7A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b9af36;
/* rgb */ color: rgb(185, 175, 54);
/* oklch */ color: oklch(74.1% 0.138 104.6);
Tailwind
colors: {
  custom: {
    50: '#d1c675',
    500: '#b9af36',
    950: '#000000',
  },
}
SCSS
$custom: #b9af36;
$custom-light: #d1c675;
$custom-dark: #000000;
JSON
{
  "hex": "#b9af36",
  "rgb": {
    "r": 185,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 55.42,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74079,
    "c": 0.13775,
    "h": 104.6
  },
  "luminance": 0.41241
}

Semantic roles & 50–950 ramp

primary
#B9AF36
secondary
#8388C8
accent
#55DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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