#B8A535#B8A535

#B8A535 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.130 H 99.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B8A535
RGBrgb(184, 165, 53)
HSLhsl(51, 55%, 46%)
HSVhsv(51, 71%, 72%)
CMYKcmyk(0%, 10.3%, 71.2%, 27.8%)
CIE-LABlab(67.55, -5.64, 57.59)
CIE-LCHlch(67.55, 57.87, 95.59°)
OKLaboklab(71.83% -0.0212 0.1281)
OKLCHoklch(71.83% 0.13 99.4)
XYZxyz(33.8665, 37.3593, 8.7947)
Luminance0.3736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A535 #3548B8
analogous
#B86435 #B8A535 #8AB835
triadic
#B8A535 #35B8A5 #A535B8
tetradic
#B8A535 #35B864 #3548B8 #B8358A
square
#B8A535 #35B864 #3548B8 #B8358A
split-complementary
#B8A535 #358AB8 #6435B8
monochromatic
#59501A #887A27 #B8A535 #D0BF5B #DDD18A

Accessibility & contrast

On white

2.48
#B8A535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B8A535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A535
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A535#FFFFFF#000000##000000
##B8A5351.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A124
Deuteranopia (green-blind)
#BAA73C
Tritanopia (blue-blind)
#C6998F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a535;
/* rgb */ color: rgb(184, 165, 53);
/* oklch */ color: oklch(71.8% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#d1bf73',
    500: '#b8a535',
    950: '#000000',
  },
}
SCSS
$custom: #b8a535;
$custom-light: #d1bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a535",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 51.298,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71832,
    "c": 0.12983,
    "h": 99.4
  },
  "luminance": 0.37358
}

Semantic roles & 50–950 ramp

primary
#B8A535
secondary
#818CC7
accent
#5FDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A535

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

Preview Lab → · Contrast checker → · Palette generator →

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