#B2A529#B2A529

#B2A529 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.137 H 103.1°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B2A529
RGBrgb(178, 165, 41)
HSLhsl(54, 63%, 43%)
HSVhsv(54, 77%, 70%)
CMYKcmyk(0%, 7.3%, 77%, 30.2%)
CIE-LABlab(66.93, -8.83, 61.17)
CIE-LCHlch(66.93, 61.80, 98.21°)
OKLaboklab(71.19% -0.0311 0.1336)
OKLCHoklch(71.19% 0.137 103.1)
XYZxyz(32.2169, 36.5367, 7.4527)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A529 #2936B2
analogous
#B26129 #B2A529 #7AB229
triadic
#B2A529 #29B2A5 #A529B2
tetradic
#B2A529 #29B261 #2936B2 #B2297A
square
#B2A529 #29B261 #2936B2 #B2297A
split-complementary
#B2A529 #297AB2 #6129B2
monochromatic
#4F4912 #80771E #B2A529 #D4C644 #DFD576

Accessibility & contrast

On white

2.53
#B2A529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B2A529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A529
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A529#FFFFFF#000000##000000
##B2A5291.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F0B
Deuteranopia (green-blind)
#B9A532
Tritanopia (blue-blind)
#C0998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a529;
/* rgb */ color: rgb(178, 165, 41);
/* oklch */ color: oklch(71.2% 0.137 103.1);
Tailwind
colors: {
  custom: {
    50: '#cdbf6d',
    500: '#b2a529',
    950: '#000000',
  },
}
SCSS
$custom: #b2a529;
$custom-light: #cdbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a529",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 54.307,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71188,
    "c": 0.13721,
    "h": 103.1
  },
  "luminance": 0.36535
}

Semantic roles & 50–950 ramp

primary
#B2A529
secondary
#7078C7
accent
#52E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A529

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

Preview Lab → · Contrast checker → · Palette generator →

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