#B9A629#B9A629

#B9A629 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.138 H 100.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#B9A629
RGBrgb(185, 166, 41)
HSLhsl(52, 64%, 44%)
HSVhsv(52, 78%, 73%)
CMYKcmyk(0%, 10.3%, 77.8%, 27.5%)
CIE-LABlab(67.83, -6.26, 62.23)
CIE-LCHlch(67.83, 62.55, 95.75°)
OKLaboklab(72.06% -0.0242 0.1356)
OKLCHoklch(72.06% 0.138 100.1)
XYZxyz(34.0457, 37.7485, 7.5903)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A629 #293CB9
analogous
#B95E29 #B9A629 #84B929
triadic
#B9A629 #29B9A6 #A629B9
tetradic
#B9A629 #29B95E #293CB9 #B92984
square
#B9A629 #29B95E #293CB9 #B92984
split-complementary
#B9A629 #2984B9 #5E29B9
monochromatic
#554C13 #87791E #B9A629 #D7C449 #E2D47B

Accessibility & contrast

On white

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

On black

8.55
#B9A629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A629
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A629#FFFFFF#000000##000000
##B9A6291.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A10A
Deuteranopia (green-blind)
#BCA832
Tritanopia (blue-blind)
#C8998F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b9a629;
/* rgb */ color: rgb(185, 166, 41);
/* oklch */ color: oklch(72.1% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#d2c06d',
    500: '#b9a629',
    950: '#000000',
  },
}
SCSS
$custom: #b9a629;
$custom-light: #d2c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a629",
  "rgb": {
    "r": 185,
    "g": 166,
    "b": 41
  },
  "hsl": {
    "h": 52.083,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7206,
    "c": 0.13776,
    "h": 100.1
  },
  "luminance": 0.37747
}

Semantic roles & 50–950 ramp

primary
#B9A629
secondary
#747FCA
accent
#57E741
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A629

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

Preview Lab → · Contrast checker → · Palette generator →

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