#B8A33F#B8A33F

#B8A33F is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.121 H 97.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B8A33F
RGBrgb(184, 163, 63)
HSLhsl(50, 49%, 48%)
HSVhsv(50, 66%, 72%)
CMYKcmyk(0%, 11.4%, 65.8%, 27.8%)
CIE-LABlab(67.09, -4.02, 52.97)
CIE-LCHlch(67.09, 53.12, 94.34°)
OKLaboklab(71.49% -0.0154 0.12)
OKLCHoklch(71.49% 0.121 97.3)
XYZxyz(33.7631, 36.7452, 10.0158)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A33F #3F54B8
analogous
#B8663F #B8A33F #90B83F
triadic
#B8A33F #3FB8A3 #A33FB8
tetradic
#B8A33F #3FB866 #3F54B8 #B83F90
square
#B8A33F #3FB866 #3F54B8 #B83F90
split-complementary
#B8A33F #3F90B8 #663FB8
monochromatic
#5D5220 #8A7B2F #B8A33F #CCBA69 #DBCF96

Accessibility & contrast

On white

2.52
#B8A33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B8A33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A33F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A33F#FFFFFF#000000##000000
##B8A33F1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a33f;
/* rgb */ color: rgb(184, 163, 63);
/* oklch */ color: oklch(71.5% 0.121 97.3);
Tailwind
colors: {
  custom: {
    50: '#d0bd79',
    500: '#b8a33f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a33f;
$custom-light: #d0bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a33f",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 63
  },
  "hsl": {
    "h": 49.587,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71491,
    "c": 0.12102,
    "h": 97.3
  },
  "luminance": 0.36744
}

Semantic roles & 50–950 ramp

primary
#B8A33F
secondary
#8C96C7
accent
#67D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A33F

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

Preview Lab → · Contrast checker → · Palette generator →

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