#B6AF29#B6AF29

#B6AF29 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.7% C 0.146 H 106.3°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#B6AF29
RGBrgb(182, 175, 41)
HSLhsl(57, 63%, 44%)
HSVhsv(57, 77%, 71%)
CMYKcmyk(0%, 3.8%, 77.5%, 28.6%)
CIE-LABlab(70.01, -12.28, 64.11)
CIE-LCHlch(70.01, 65.27, 100.84°)
OKLaboklab(73.73% -0.041 0.1398)
OKLCHoklch(73.73% 0.146 106.3)
XYZxyz(35.0231, 40.7664, 8.1212)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AF29 #2930B6
analogous
#B66829 #B6AF29 #76B629
triadic
#B6AF29 #29B6AF #AF29B6
tetradic
#B6AF29 #29B668 #2930B6 #B62976
square
#B6AF29 #29B668 #2930B6 #B62976
split-complementary
#B6AF29 #2976B6 #6829B6
monochromatic
#524F12 #847F1E #B6AF29 #D5CE47 #E1DC79

Accessibility & contrast

On white

2.29
#B6AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#B6AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AF29
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AF29#FFFFFF#000000##000000
##B6AF291.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA803
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#C4A396
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b6af29;
/* rgb */ color: rgb(182, 175, 41);
/* oklch */ color: oklch(73.7% 0.146 106.3);
Tailwind
colors: {
  custom: {
    50: '#d0c66e',
    500: '#b6af29',
    950: '#000000',
  },
}
SCSS
$custom: #b6af29;
$custom-light: #d0c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6af29",
  "rgb": {
    "r": 182,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 57.021,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73728,
    "c": 0.14563,
    "h": 106.3
  },
  "luminance": 0.40765
}

Semantic roles & 50–950 ramp

primary
#B6AF29
secondary
#7276C9
accent
#4AE642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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