#B2AE29#B2AE29

#B2AE29 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.145 H 107.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B2AE29
RGBrgb(178, 174, 41)
HSLhsl(58, 63%, 43%)
HSVhsv(58, 77%, 70%)
CMYKcmyk(0%, 2.2%, 77%, 30.2%)
CIE-LABlab(69.40, -13.51, 63.42)
CIE-LCHlch(69.40, 64.85, 102.03°)
OKLaboklab(73.16% -0.0442 0.1385)
OKLCHoklch(73.16% 0.145 107.7)
XYZxyz(33.8977, 39.8983, 8.0130)
Luminance0.3990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE29 #292DB2
analogous
#B26929 #B2AE29 #71B229
triadic
#B2AE29 #29B2AE #AE29B2
tetradic
#B2AE29 #29B269 #292DB2 #B22971
square
#B2AE29 #29B269 #292DB2 #B22971
split-complementary
#B2AE29 #2971B2 #6929B2
monochromatic
#4F4D12 #807D1E #B2AE29 #D4D044 #DFDC76

Accessibility & contrast

On white

2.34
#B2AE29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#B2AE29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE29
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE29#FFFFFF#000000##000000
##B2AE291.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA704
Deuteranopia (green-blind)
#BFAC34
Tritanopia (blue-blind)
#BFA295
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ae29;
/* rgb */ color: rgb(178, 174, 41);
/* oklch */ color: oklch(73.2% 0.145 107.7);
Tailwind
colors: {
  custom: {
    50: '#cdc56e',
    500: '#b2ae29',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae29;
$custom-light: #cdc56e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae29",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 41
  },
  "hsl": {
    "h": 58.248,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73155,
    "c": 0.14535,
    "h": 107.7
  },
  "luminance": 0.39897
}

Semantic roles & 50–950 ramp

primary
#B2AE29
secondary
#7072C7
accent
#47E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AE29

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

Preview Lab → · Contrast checker → · Palette generator →

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