#B9AF41#B9AF41

#B9AF41 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.2% C 0.130 H 104.1°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B9AF41
RGBrgb(185, 175, 65)
HSLhsl(55, 48%, 49%)
HSVhsv(55, 65%, 73%)
CMYKcmyk(0%, 5.4%, 64.9%, 27.5%)
CIE-LABlab(70.43, -9.78, 55.66)
CIE-LCHlch(70.43, 56.51, 99.97°)
OKLaboklab(74.17% -0.0317 0.126)
OKLCHoklch(74.17% 0.13 104.1)
XYZxyz(36.2931, 41.3572, 11.0710)
Luminance0.4136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AF41 #414BB9
analogous
#B97341 #B9AF41 #87B941
triadic
#B9AF41 #41B9AF #AF41B9
tetradic
#B9AF41 #41B973 #414BB9 #B94187
square
#B9AF41 #41B973 #414BB9 #B94187
split-complementary
#B9AF41 #4187B9 #7341B9
monochromatic
#5E5921 #8C8431 #B9AF41 #CBC36C #DBD699

Accessibility & contrast

On white

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

On black

9.27
#B9AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AF41
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AF41#FFFFFF#000000##000000
##B9AF411.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA933
Deuteranopia (green-blind)
#C1AF47
Tritanopia (blue-blind)
#C6A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b9af41;
/* rgb */ color: rgb(185, 175, 65);
/* oklch */ color: oklch(74.2% 0.130 104.1);
Tailwind
colors: {
  custom: {
    50: '#d1c67b',
    500: '#b9af41',
    950: '#000000',
  },
}
SCSS
$custom: #b9af41;
$custom-light: #d1c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9af41",
  "rgb": {
    "r": 185,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 55,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74169,
    "c": 0.12993,
    "h": 104.1
  },
  "luminance": 0.41356
}

Semantic roles & 50–950 ramp

primary
#B9AF41
secondary
#8F93C7
accent
#5BD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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