#B2A829#B2A829

#B2A829 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.8% C 0.140 H 104.7°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#B2A829
RGBrgb(178, 168, 41)
HSLhsl(56, 63%, 43%)
HSVhsv(56, 77%, 70%)
CMYKcmyk(0%, 5.6%, 77%, 30.2%)
CIE-LABlab(67.75, -10.40, 61.92)
CIE-LCHlch(67.75, 62.79, 99.53°)
OKLaboklab(71.84% -0.0355 0.1353)
OKLCHoklch(71.84% 0.14 104.7)
XYZxyz(32.7644, 37.6317, 7.6352)
Luminance0.3763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A829 #2933B2
analogous
#B26329 #B2A829 #78B229
triadic
#B2A829 #29B2A8 #A829B2
tetradic
#B2A829 #29B263 #2933B2 #B22978
square
#B2A829 #29B263 #2933B2 #B22978
split-complementary
#B2A829 #2978B2 #6329B2
monochromatic
#4F4A12 #80791E #B2A829 #D4C944 #DFD876

Accessibility & contrast

On white

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

On black

8.53
#B2A829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A829
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A829#FFFFFF#000000##000000
##B2A8291.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A209
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#C09C90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a829;
/* rgb */ color: rgb(178, 168, 41);
/* oklch */ color: oklch(71.8% 0.140 104.7);
Tailwind
colors: {
  custom: {
    50: '#cdc16d',
    500: '#b2a829',
    950: '#000000',
  },
}
SCSS
$custom: #b2a829;
$custom-light: #cdc16d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a829",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 55.62,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71841,
    "c": 0.13983,
    "h": 104.7
  },
  "luminance": 0.3763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2A829

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

Preview Lab → · Contrast checker → · Palette generator →

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