#B8A336#B8A336

#B8A336 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.128 H 98.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B8A336
RGBrgb(184, 163, 54)
HSLhsl(50, 55%, 47%)
HSVhsv(50, 71%, 72%)
CMYKcmyk(0%, 11.4%, 70.7%, 27.8%)
CIE-LABlab(67.02, -4.53, 56.67)
CIE-LCHlch(67.02, 56.85, 94.57°)
OKLaboklab(71.41% -0.0179 0.1263)
OKLCHoklch(71.41% 0.128 98.1)
XYZxyz(33.5318, 36.6527, 8.7978)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A336 #364BB8
analogous
#B86236 #B8A336 #8CB836
triadic
#B8A336 #36B8A3 #A336B8
tetradic
#B8A336 #36B862 #364BB8 #B8368C
square
#B8A336 #36B862 #364BB8 #B8368C
split-complementary
#B8A336 #368CB8 #6236B8
monochromatic
#594F1A #897928 #B8A336 #CFBD5C #DDD08B

Accessibility & contrast

On white

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

On black

8.33
#B8A336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A336
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A336#FFFFFF#000000##000000
##B8A3361.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F26
Deuteranopia (green-blind)
#B9A63C
Tritanopia (blue-blind)
#C6978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a336;
/* rgb */ color: rgb(184, 163, 54);
/* oklch */ color: oklch(71.4% 0.128 98.1);
Tailwind
colors: {
  custom: {
    50: '#d1bd74',
    500: '#b8a336',
    950: '#000000',
  },
}
SCSS
$custom: #b8a336;
$custom-light: #d1bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a336",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 50.308,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71414,
    "c": 0.12759,
    "h": 98.1
  },
  "luminance": 0.36651
}

Semantic roles & 50–950 ramp

primary
#B8A336
secondary
#828EC7
accent
#62DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A336

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

Preview Lab → · Contrast checker → · Palette generator →

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