#B2B419#B2B419

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

Color values

HEX#B2B419
RGBrgb(178, 180, 25)
HSLhsl(61, 76%, 40%)
HSVhsv(61, 86%, 71%)
CMYKcmyk(1.1%, 0%, 86.1%, 29.4%)
CIE-LABlab(70.99, -17.08, 69.02)
CIE-LCHlch(70.99, 71.10, 103.90°)
OKLaboklab(74.41% -0.0552 0.1477)
OKLCHoklch(74.41% 0.158 110.5)
XYZxyz(34.8582, 42.1787, 7.2246)
Luminance0.4218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B419 #1B19B4
analogous
#B46819 #B2B419 #65B419
triadic
#B2B419 #19B2B4 #B419B2
tetradic
#B2B419 #19B468 #1B19B4 #B41965
square
#B2B419 #19B468 #1B19B4 #B41965
split-complementary
#B2B419 #1965B4 #6819B4
monochromatic
#48490A #7D7E12 #B2B419 #DFE129 #E7E95F

Accessibility & contrast

On white

2.23
#B2B419 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B419#FFFFFF#000000##000000
##B2B4191.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b419;
/* rgb */ color: rgb(178, 180, 25);
/* oklch */ color: oklch(74.4% 0.158 110.5);
Tailwind
colors: {
  custom: {
    50: '#cdca69',
    500: '#b2b419',
    950: '#000000',
  },
}
SCSS
$custom: #b2b419;
$custom-light: #cdca69;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b419",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 25
  },
  "hsl": {
    "h": 60.774,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.74411,
    "c": 0.1577,
    "h": 110.5
  },
  "luminance": 0.42178
}

Semantic roles & 50–950 ramp

primary
#B2B419
secondary
#5D5CCD
accent
#36F238
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B2B419

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

Preview Lab → · Contrast checker → · Palette generator →

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