#B2A429#B2A429

#B2A429 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.0% C 0.136 H 102.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#B2A429
RGBrgb(178, 164, 41)
HSLhsl(54, 63%, 43%)
HSVhsv(54, 77%, 70%)
CMYKcmyk(0%, 7.9%, 77%, 30.2%)
CIE-LABlab(66.66, -8.30, 60.92)
CIE-LCHlch(66.66, 61.48, 97.76°)
OKLaboklab(70.97% -0.0296 0.1331)
OKLCHoklch(70.97% 0.136 102.5)
XYZxyz(32.0373, 36.1774, 7.3928)
Luminance0.3618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A429 #2937B2
analogous
#B26029 #B2A429 #7BB229
triadic
#B2A429 #29B2A4 #A429B2
tetradic
#B2A429 #29B260 #2937B2 #B2297B
square
#B2A429 #29B260 #2937B2 #B2297B
split-complementary
#B2A429 #297BB2 #6029B2
monochromatic
#4F4812 #80761E #B2A429 #D4C544 #DFD576

Accessibility & contrast

On white

2.55
#B2A429 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#B2A429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A429
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A429#FFFFFF#000000##000000
##B2A4291.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0C
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#C0988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a429;
/* rgb */ color: rgb(178, 164, 41);
/* oklch */ color: oklch(71.0% 0.136 102.5);
Tailwind
colors: {
  custom: {
    50: '#cdbe6d',
    500: '#b2a429',
    950: '#000000',
  },
}
SCSS
$custom: #b2a429;
$custom-light: #cdbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a429",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 41
  },
  "hsl": {
    "h": 53.869,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70972,
    "c": 0.13637,
    "h": 102.5
  },
  "luminance": 0.36176
}

Semantic roles & 50–950 ramp

primary
#B2A429
secondary
#7079C7
accent
#53E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A429

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

Preview Lab → · Contrast checker → · Palette generator →

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