#B2B42D#B2B42D

#B2B42D is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.5% C 0.149 H 110.4°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#B2B42D
RGBrgb(178, 180, 45)
HSLhsl(61, 60%, 44%)
HSVhsv(61, 75%, 71%)
CMYKcmyk(1.1%, 0%, 75%, 29.4%)
CIE-LABlab(71.08, -16.41, 63.68)
CIE-LCHlch(71.08, 65.76, 104.45°)
OKLaboklab(74.5% -0.052 0.1397)
OKLCHoklch(74.5% 0.149 110.4)
XYZxyz(35.1563, 42.2980, 8.7945)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B42D #2F2DB4
analogous
#B4732D #B2B42D #6FB42D
triadic
#B2B42D #2DB2B4 #B42DB2
tetradic
#B2B42D #2DB473 #2F2DB4 #B42D6F
square
#B2B42D #2DB473 #2F2DB4 #B42D6F
split-complementary
#B2B42D #2D6FB4 #732DB4
monochromatic
#515215 #828321 #B2B42D #D0D24C #DDDE7D

Accessibility & contrast

On white

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

On black

9.46
#B2B42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B42D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B42D#FFFFFF#000000##000000
##B2B42D1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC0D
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#BFA89B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b42d;
/* rgb */ color: rgb(178, 180, 45);
/* oklch */ color: oklch(74.5% 0.149 110.4);
Tailwind
colors: {
  custom: {
    50: '#cdca71',
    500: '#b2b42d',
    950: '#000000',
  },
}
SCSS
$custom: #b2b42d;
$custom-light: #cdca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b42d",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 60.889,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74502,
    "c": 0.14908,
    "h": 110.4
  },
  "luminance": 0.42297
}

Semantic roles & 50–950 ramp

primary
#B2B42D
secondary
#7776C7
accent
#45E347
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B42D

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

Preview Lab → · Contrast checker → · Palette generator →

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