#B2B41B#B2B41B

#B2B41B 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#B2B41B
RGBrgb(178, 180, 27)
HSLhsl(61, 74%, 41%)
HSVhsv(61, 85%, 71%)
CMYKcmyk(1.1%, 0%, 85%, 29.4%)
CIE-LABlab(71.00, -17.03, 68.59)
CIE-LCHlch(71.00, 70.68, 103.94°)
OKLaboklab(74.42% -0.055 0.1471)
OKLCHoklch(74.42% 0.157 110.5)
XYZxyz(34.8805, 42.1877, 7.3423)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B41B #1D1BB4
analogous
#B4691B #B2B41B #66B41B
triadic
#B2B41B #1BB2B4 #B41BB2
tetradic
#B2B41B #1BB469 #1D1BB4 #B41B66
square
#B2B41B #1BB469 #1D1BB4 #B41B66
split-complementary
#B2B41B #1B66B4 #691BB4
monochromatic
#494A0B #7D7F13 #B2B41B #DDDF2D #E6E762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B41B#FFFFFF#000000##000000
##B2B41B1.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: #b2b41b;
/* rgb */ color: rgb(178, 180, 27);
/* oklch */ color: oklch(74.4% 0.157 110.5);
Tailwind
colors: {
  custom: {
    50: '#cdca6a',
    500: '#b2b41b',
    950: '#000000',
  },
}
SCSS
$custom: #b2b41b;
$custom-light: #cdca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b41b",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 60.784,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.74418,
    "c": 0.15705,
    "h": 110.5
  },
  "luminance": 0.42187
}

Semantic roles & 50–950 ramp

primary
#B2B41B
secondary
#605FCC
accent
#37F13A
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B2B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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