#B2B41C#B2B41C

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

Color values

HEX#B2B41C
RGBrgb(178, 180, 28)
HSLhsl(61, 73%, 41%)
HSVhsv(61, 84%, 71%)
CMYKcmyk(1.1%, 0%, 84.4%, 29.4%)
CIE-LABlab(71.00, -17.00, 68.37)
CIE-LCHlch(71.00, 70.45, 103.96°)
OKLaboklab(74.42% -0.0549 0.1468)
OKLCHoklch(74.42% 0.157 110.5)
XYZxyz(34.8923, 42.1924, 7.4043)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B41C #1E1CB4
analogous
#B46A1C #B2B41C #66B41C
triadic
#B2B41C #1CB2B4 #B41CB2
tetradic
#B2B41C #1CB46A #1E1CB4 #B41C66
square
#B2B41C #1CB46A #1E1CB4 #B41C66
split-complementary
#B2B41C #1C66B4 #6A1CB4
monochromatic
#494A0C #7E7F14 #B2B41C #DCDF2F #E5E764

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B41C#FFFFFF#000000##000000
##B2B41C1.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)
#C4B02C
Tritanopia (blue-blind)
#BFA89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b41c;
/* rgb */ color: rgb(178, 180, 28);
/* oklch */ color: oklch(74.4% 0.157 110.5);
Tailwind
colors: {
  custom: {
    50: '#cdca6a',
    500: '#b2b41c',
    950: '#000000',
  },
}
SCSS
$custom: #b2b41c;
$custom-light: #cdca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b41c",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 60.789,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.74421,
    "c": 0.1567,
    "h": 110.5
  },
  "luminance": 0.42191
}

Semantic roles & 50–950 ramp

primary
#B2B41C
secondary
#6260CC
accent
#38F03A
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B2B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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