#B8A933#B8A933

#B8A933 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.134 H 101.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B8A933
RGBrgb(184, 169, 51)
HSLhsl(53, 57%, 46%)
HSVhsv(53, 72%, 72%)
CMYKcmyk(0%, 8.2%, 72.3%, 27.8%)
CIE-LABlab(68.61, -7.85, 59.40)
CIE-LCHlch(68.61, 59.92, 97.53°)
OKLaboklab(72.67% -0.0277 0.1316)
OKLCHoklch(72.67% 0.134 101.9)
XYZxyz(34.5542, 38.8068, 8.8017)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A933 #3342B8
analogous
#B86633 #B8A933 #84B833
triadic
#B8A933 #33B8A9 #A933B8
tetradic
#B8A933 #33B866 #3342B8 #B83384
square
#B8A933 #33B866 #3342B8 #B83384
split-complementary
#B8A933 #3384B8 #6633B8
monochromatic
#585118 #887D26 #B8A933 #D1C358 #DED488

Accessibility & contrast

On white

2.40
#B8A933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B8A933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A933
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A933#FFFFFF#000000##000000
##B8A9331.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41F
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#C69D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a933;
/* rgb */ color: rgb(184, 169, 51);
/* oklch */ color: oklch(72.7% 0.134 101.9);
Tailwind
colors: {
  custom: {
    50: '#d1c273',
    500: '#b8a933',
    950: '#000000',
  },
}
SCSS
$custom: #b8a933;
$custom-light: #d1c273;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a933",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 51
  },
  "hsl": {
    "h": 53.233,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72673,
    "c": 0.13444,
    "h": 101.9
  },
  "luminance": 0.38805
}

Semantic roles & 50–950 ramp

primary
#B8A933
secondary
#7F87C8
accent
#59E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A933

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

Preview Lab → · Contrast checker → · Palette generator →

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