#B9A33F#B9A33F

#B9A33F is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.121 H 96.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B9A33F
RGBrgb(185, 163, 63)
HSLhsl(49, 49%, 49%)
HSVhsv(49, 66%, 73%)
CMYKcmyk(0%, 11.9%, 65.9%, 27.5%)
CIE-LABlab(67.18, -3.58, 53.09)
CIE-LCHlch(67.18, 53.22, 93.86°)
OKLaboklab(71.59% -0.0142 0.1203)
OKLCHoklch(71.59% 0.121 96.8)
XYZxyz(34.0035, 36.8692, 10.0271)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A33F #3F55B9
analogous
#B9663F #B9A33F #92B93F
triadic
#B9A33F #3FB9A3 #A33FB9
tetradic
#B9A33F #3FB966 #3F55B9 #B93F92
square
#B9A33F #3FB966 #3F55B9 #B93F92
split-complementary
#B9A33F #3F92B9 #663FB9
monochromatic
#5E5320 #8B7B2F #B9A33F #CCBA69 #DCCF97

Accessibility & contrast

On white

2.51
#B9A33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B9A33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A33F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A33F#FFFFFF#000000##000000
##B9A33F1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F33
Deuteranopia (green-blind)
#B8A744
Tritanopia (blue-blind)
#C7978E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b9a33f;
/* rgb */ color: rgb(185, 163, 63);
/* oklch */ color: oklch(71.6% 0.121 96.8);
Tailwind
colors: {
  custom: {
    50: '#d1bd79',
    500: '#b9a33f',
    950: '#000000',
  },
}
SCSS
$custom: #b9a33f;
$custom-light: #d1bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a33f",
  "rgb": {
    "r": 185,
    "g": 163,
    "b": 63
  },
  "hsl": {
    "h": 49.18,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71587,
    "c": 0.12111,
    "h": 96.8
  },
  "luminance": 0.36868
}

Semantic roles & 50–950 ramp

primary
#B9A33F
secondary
#8D97C7
accent
#68D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9A33F

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

Preview Lab → · Contrast checker → · Palette generator →

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