#B2B41D#B2B41D

#B2B41D is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.4% C 0.156 H 110.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#B2B41D
RGBrgb(178, 180, 29)
HSLhsl(61, 72%, 41%)
HSVhsv(61, 84%, 71%)
CMYKcmyk(1.1%, 0%, 83.9%, 29.4%)
CIE-LABlab(71.01, -16.97, 68.14)
CIE-LCHlch(71.01, 70.22, 103.99°)
OKLaboklab(74.43% -0.0547 0.1465)
OKLCHoklch(74.43% 0.156 110.5)
XYZxyz(34.9045, 42.1972, 7.4684)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B41D #1F1DB4
analogous
#B46A1D #B2B41D #66B41D
triadic
#B2B41D #1DB2B4 #B41DB2
tetradic
#B2B41D #1DB46A #1F1DB4 #B41D66
square
#B2B41D #1DB46A #1F1DB4 #B41D66
split-complementary
#B2B41D #1D66B4 #6A1DB4
monochromatic
#4A4B0C #7E7F15 #B2B41D #DBDE30 #E5E665

Accessibility & contrast

On white

2.22
#B2B41D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#B2B41D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B41D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B41D#FFFFFF#000000##000000
##B2B41D1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C4B02D
Tritanopia (blue-blind)
#BFA89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b41d;
/* rgb */ color: rgb(178, 180, 29);
/* oklch */ color: oklch(74.4% 0.156 110.5);
Tailwind
colors: {
  custom: {
    50: '#cdca6a',
    500: '#b2b41d',
    950: '#000000',
  },
}
SCSS
$custom: #b2b41d;
$custom-light: #cdca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b41d",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 29
  },
  "hsl": {
    "h": 60.795,
    "s": 72.249,
    "l": 40.98
  },
  "oklch": {
    "l": 0.74425,
    "c": 0.15634,
    "h": 110.5
  },
  "luminance": 0.42196
}

Semantic roles & 50–950 ramp

primary
#B2B41D
secondary
#6361CB
accent
#39EF3B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B2B41D

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

Preview Lab → · Contrast checker → · Palette generator →

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