#B2B41F#B2B41F

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

Color values

HEX#B2B41F
RGBrgb(178, 180, 31)
HSLhsl(61, 71%, 41%)
HSVhsv(61, 83%, 71%)
CMYKcmyk(1.1%, 0%, 82.8%, 29.4%)
CIE-LABlab(71.01, -16.92, 67.67)
CIE-LCHlch(71.01, 69.75, 104.04°)
OKLaboklab(74.43% -0.0544 0.1458)
OKLCHoklch(74.43% 0.156 110.5)
XYZxyz(34.9300, 42.2075, 7.6029)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B41F #211FB4
analogous
#B46C1F #B2B41F #68B41F
triadic
#B2B41F #1FB2B4 #B41FB2
tetradic
#B2B41F #1FB46C #211FB4 #B41F68
square
#B2B41F #1FB46C #211FB4 #B41F68
split-complementary
#B2B41F #1F68B4 #6C1FB4
monochromatic
#4B4C0D #7E8016 #B2B41F #DADC34 #E3E568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B41F#FFFFFF#000000##000000
##B2B41F1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b41f;
/* rgb */ color: rgb(178, 180, 31);
/* oklch */ color: oklch(74.4% 0.156 110.5);
Tailwind
colors: {
  custom: {
    50: '#cdca6b',
    500: '#b2b41f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b41f;
$custom-light: #cdca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b41f",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 60.805,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.74433,
    "c": 0.15559,
    "h": 110.5
  },
  "luminance": 0.42206
}

Semantic roles & 50–950 ramp

primary
#B2B41F
secondary
#6664CB
accent
#3AED3D
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B2B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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