#B8A729#B8A729

#B8A729 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.139 H 101.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B8A729
RGBrgb(184, 167, 41)
HSLhsl(53, 64%, 44%)
HSVhsv(53, 78%, 72%)
CMYKcmyk(0%, 9.2%, 77.7%, 27.8%)
CIE-LABlab(68.01, -7.23, 62.36)
CIE-LCHlch(68.01, 62.78, 96.61°)
OKLaboklab(72.18% -0.0269 0.1359)
OKLCHoklch(72.18% 0.139 101.2)
XYZxyz(33.9878, 37.9895, 7.6398)
Luminance0.3799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A729 #293AB8
analogous
#B86029 #B8A729 #82B829
triadic
#B8A729 #29B8A7 #A729B8
tetradic
#B8A729 #29B860 #293AB8 #B82982
square
#B8A729 #29B860 #293AB8 #B82982
split-complementary
#B8A729 #2982B8 #6029B8
monochromatic
#544C13 #867A1E #B8A729 #D6C548 #E1D57A

Accessibility & contrast

On white

2.44
#B8A729 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B8A729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A729
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A729#FFFFFF#000000##000000
##B8A7291.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A209
Deuteranopia (green-blind)
#BCA932
Tritanopia (blue-blind)
#C79A8F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a729;
/* rgb */ color: rgb(184, 167, 41);
/* oklch */ color: oklch(72.2% 0.139 101.2);
Tailwind
colors: {
  custom: {
    50: '#d1c06e',
    500: '#b8a729',
    950: '#000000',
  },
}
SCSS
$custom: #b8a729;
$custom-light: #d1c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a729",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 41
  },
  "hsl": {
    "h": 52.867,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72179,
    "c": 0.13857,
    "h": 101.2
  },
  "luminance": 0.37988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A729

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

Preview Lab → · Contrast checker → · Palette generator →

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