#B8A829#B8A829

#B8A829 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.139 H 101.8°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B8A829
RGBrgb(184, 168, 41)
HSLhsl(53, 64%, 44%)
HSVhsv(53, 78%, 72%)
CMYKcmyk(0%, 8.7%, 77.7%, 27.8%)
CIE-LABlab(68.28, -7.76, 62.61)
CIE-LCHlch(68.28, 63.08, 97.06°)
OKLaboklab(72.39% -0.0284 0.1364)
OKLCHoklch(72.39% 0.139 101.8)
XYZxyz(34.1717, 38.3573, 7.7011)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A829 #2939B8
analogous
#B86129 #B8A829 #81B829
triadic
#B8A829 #29B8A8 #A829B8
tetradic
#B8A829 #29B861 #2939B8 #B82981
square
#B8A829 #29B861 #2939B8 #B82981
split-complementary
#B8A829 #2981B8 #6129B8
monochromatic
#544D13 #867A1E #B8A829 #D6C648 #E1D67A

Accessibility & contrast

On white

2.42
#B8A829 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B8A829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A829
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A829#FFFFFF#000000##000000
##B8A8291.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A309
Deuteranopia (green-blind)
#BDA933
Tritanopia (blue-blind)
#C69C90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a829;
/* rgb */ color: rgb(184, 168, 41);
/* oklch */ color: oklch(72.4% 0.139 101.8);
Tailwind
colors: {
  custom: {
    50: '#d1c16e',
    500: '#b8a829',
    950: '#000000',
  },
}
SCSS
$custom: #b8a829;
$custom-light: #d1c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a829",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 53.287,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72394,
    "c": 0.13937,
    "h": 101.8
  },
  "luminance": 0.38356
}

Semantic roles & 50–950 ramp

primary
#B8A829
secondary
#737DC9
accent
#54E741
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A829

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

Preview Lab → · Contrast checker → · Palette generator →

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