#B2B52D#B2B52D

#B2B52D is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.7% C 0.150 H 110.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B2B52D
RGBrgb(178, 181, 45)
HSLhsl(61, 60%, 44%)
HSVhsv(61, 75%, 71%)
CMYKcmyk(1.7%, 0%, 75.1%, 29%)
CIE-LABlab(71.35, -16.92, 63.94)
CIE-LCHlch(71.35, 66.14, 104.82°)
OKLaboklab(74.72% -0.0534 0.1403)
OKLCHoklch(74.72% 0.15 110.8)
XYZxyz(35.3589, 42.7032, 8.8620)
Luminance0.4270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B52D #302DB5
analogous
#B5742D #B2B52D #6EB52D
triadic
#B2B52D #2DB2B5 #B52DB2
tetradic
#B2B52D #2DB574 #302DB5 #B52D6E
square
#B2B52D #2DB574 #302DB5 #B52D6E
split-complementary
#B2B52D #2D6EB5 #742DB5
monochromatic
#525315 #828421 #B2B52D #D0D34D #DDDF7E

Accessibility & contrast

On white

2.20
#B2B52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#B2B52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B52D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B52D#FFFFFF#000000##000000
##B2B52D1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD0C
Deuteranopia (green-blind)
#C5B038
Tritanopia (blue-blind)
#BFA99B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b52d;
/* rgb */ color: rgb(178, 181, 45);
/* oklch */ color: oklch(74.7% 0.150 110.8);
Tailwind
colors: {
  custom: {
    50: '#cdca71',
    500: '#b2b52d',
    950: '#000000',
  },
}
SCSS
$custom: #b2b52d;
$custom-light: #cdca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b52d",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 61.324,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74724,
    "c": 0.15009,
    "h": 110.8
  },
  "luminance": 0.42702
}

Semantic roles & 50–950 ramp

primary
#B2B52D
secondary
#7876C7
accent
#44E348
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B52D

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

Preview Lab → · Contrast checker → · Palette generator →

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