#B2B413#B2B413

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

Color values

HEX#B2B413
RGBrgb(178, 180, 19)
HSLhsl(61, 81%, 39%)
HSVhsv(61, 89%, 71%)
CMYKcmyk(1.1%, 0%, 89.4%, 29.4%)
CIE-LABlab(70.98, -17.21, 70.15)
CIE-LCHlch(70.98, 72.23, 103.78°)
OKLaboklab(74.39% -0.0559 0.1493)
OKLCHoklch(74.39% 0.159 110.5)
XYZxyz(34.8003, 42.1556, 6.9196)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B413 #1513B4
analogous
#B46613 #B2B413 #62B413
triadic
#B2B413 #13B2B4 #B413B2
tetradic
#B2B413 #13B466 #1513B4 #B41362
square
#B2B413 #13B466 #1513B4 #B41362
split-complementary
#B2B413 #1362B4 #6613B4
monochromatic
#454507 #7B7D0D #B2B413 #E5E71D #EBED54

Accessibility & contrast

On white

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

On black

9.43
#B2B413 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B413
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B413#FFFFFF#000000##000000
##B2B4131.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b413;
/* rgb */ color: rgb(178, 180, 19);
/* oklch */ color: oklch(74.4% 0.159 110.5);
Tailwind
colors: {
  custom: {
    50: '#cdca67',
    500: '#b2b413',
    950: '#000000',
  },
}
SCSS
$custom: #b2b413;
$custom-light: #cdca67;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b413",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 19
  },
  "hsl": {
    "h": 60.745,
    "s": 80.905,
    "l": 39.02
  },
  "oklch": {
    "l": 0.74393,
    "c": 0.15942,
    "h": 110.5
  },
  "luminance": 0.42155
}

Semantic roles & 50–950 ramp

primary
#B2B413
secondary
#5553CF
accent
#30F733
background
#FDFCF6
surface
#FAF8EB
border
#D3D1C6
text
#141307
muted
#83827A

Preview Lab

Preview with #B2B413

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

Preview Lab → · Contrast checker → · Palette generator →

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