#B2A929#B2A929

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

Color values

HEX#B2A929
RGBrgb(178, 169, 41)
HSLhsl(56, 63%, 43%)
HSVhsv(56, 77%, 70%)
CMYKcmyk(0%, 5.1%, 77%, 30.2%)
CIE-LABlab(68.02, -10.92, 62.17)
CIE-LCHlch(68.02, 63.12, 99.96°)
OKLaboklab(72.06% -0.037 0.1358)
OKLCHoklch(72.06% 0.141 105.2)
XYZxyz(32.9497, 38.0023, 7.6969)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A929 #2932B2
analogous
#B26429 #B2A929 #77B229
triadic
#B2A929 #29B2A9 #A929B2
tetradic
#B2A929 #29B264 #2932B2 #B22977
square
#B2A929 #29B264 #2932B2 #B22977
split-complementary
#B2A929 #2977B2 #6429B2
monochromatic
#4F4B12 #807A1E #B2A929 #D4CB44 #DFD976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A929#FFFFFF#000000##000000
##B2A9291.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)
#B8A308
Deuteranopia (green-blind)
#BCA833
Tritanopia (blue-blind)
#C09D91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a929;
/* rgb */ color: rgb(178, 169, 41);
/* oklch */ color: oklch(72.1% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#cdc26e',
    500: '#b2a929',
    950: '#000000',
  },
}
SCSS
$custom: #b2a929;
$custom-light: #cdc26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a929",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 41
  },
  "hsl": {
    "h": 56.058,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72059,
    "c": 0.14072,
    "h": 105.2
  },
  "luminance": 0.38001
}

Semantic roles & 50–950 ramp

primary
#B2A929
secondary
#7076C7
accent
#4DE642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A929

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

Preview Lab → · Contrast checker → · Palette generator →

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