#B8A629#B8A629

#B8A629 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.138 H 100.6°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B8A629
RGBrgb(184, 166, 41)
HSLhsl(52, 64%, 44%)
HSVhsv(52, 78%, 72%)
CMYKcmyk(0%, 9.8%, 77.7%, 27.8%)
CIE-LABlab(67.74, -6.70, 62.11)
CIE-LCHlch(67.74, 62.47, 96.16°)
OKLaboklab(71.97% -0.0254 0.1354)
OKLCHoklch(71.97% 0.138 100.6)
XYZxyz(33.8053, 37.6245, 7.5790)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A629 #293BB8
analogous
#B85F29 #B8A629 #83B829
triadic
#B8A629 #29B8A6 #A629B8
tetradic
#B8A629 #29B85F #293BB8 #B82983
square
#B8A629 #29B85F #293BB8 #B82983
split-complementary
#B8A629 #2983B8 #5F29B8
monochromatic
#544C13 #86791E #B8A629 #D6C448 #E1D47A

Accessibility & contrast

On white

2.46
#B8A629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B8A629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A629
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A629#FFFFFF#000000##000000
##B8A6291.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10A
Deuteranopia (green-blind)
#BBA832
Tritanopia (blue-blind)
#C7998F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a629;
/* rgb */ color: rgb(184, 166, 41);
/* oklch */ color: oklch(72.0% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#d1c06d',
    500: '#b8a629',
    950: '#000000',
  },
}
SCSS
$custom: #b8a629;
$custom-light: #d1c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a629",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 41
  },
  "hsl": {
    "h": 52.448,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71965,
    "c": 0.13777,
    "h": 100.6
  },
  "luminance": 0.37623
}

Semantic roles & 50–950 ramp

primary
#B8A629
secondary
#737EC9
accent
#56E741
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A629

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

Preview Lab → · Contrast checker → · Palette generator →

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