#B6A829#B6A829

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

Color values

HEX#B6A829
RGBrgb(182, 168, 41)
HSLhsl(54, 63%, 44%)
HSVhsv(54, 77%, 71%)
CMYKcmyk(0%, 7.7%, 77.5%, 28.6%)
CIE-LABlab(68.10, -8.64, 62.37)
CIE-LCHlch(68.10, 62.97, 97.89°)
OKLaboklab(72.21% -0.0308 0.1361)
OKLCHoklch(72.21% 0.139 102.7)
XYZxyz(33.6958, 38.1119, 7.6788)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A829 #2937B6
analogous
#B66129 #B6A829 #7DB629
triadic
#B6A829 #29B6A8 #A829B6
tetradic
#B6A829 #29B661 #2937B6 #B6297D
square
#B6A829 #29B661 #2937B6 #B6297D
split-complementary
#B6A829 #297DB6 #6129B6
monochromatic
#524C12 #847A1E #B6A829 #D5C747 #E1D679

Accessibility & contrast

On white

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

On black

8.62
#B6A829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A829
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A829#FFFFFF#000000##000000
##B6A8291.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A209
Deuteranopia (green-blind)
#BCA933
Tritanopia (blue-blind)
#C49C90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b6a829;
/* rgb */ color: rgb(182, 168, 41);
/* oklch */ color: oklch(72.2% 0.139 102.7);
Tailwind
colors: {
  custom: {
    50: '#d0c16e',
    500: '#b6a829',
    950: '#000000',
  },
}
SCSS
$custom: #b6a829;
$custom-light: #d0c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a829",
  "rgb": {
    "r": 182,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 54.043,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72208,
    "c": 0.13949,
    "h": 102.7
  },
  "luminance": 0.3811
}

Semantic roles & 50–950 ramp

primary
#B6A829
secondary
#727BC9
accent
#52E642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A829

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

Preview Lab → · Contrast checker → · Palette generator →

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