#B2B41E#B2B41E

#B2B41E 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#B2B41E
RGBrgb(178, 180, 30)
HSLhsl(61, 71%, 41%)
HSVhsv(61, 83%, 71%)
CMYKcmyk(1.1%, 0%, 83.3%, 29.4%)
CIE-LABlab(71.01, -16.95, 67.91)
CIE-LCHlch(71.01, 69.99, 104.01°)
OKLaboklab(74.43% -0.0546 0.1461)
OKLCHoklch(74.43% 0.156 110.5)
XYZxyz(34.9170, 42.2023, 7.5346)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B41E #201EB4
analogous
#B46B1E #B2B41E #67B41E
triadic
#B2B41E #1EB2B4 #B41EB2
tetradic
#B2B41E #1EB46B #201EB4 #B41E67
square
#B2B41E #1EB46B #201EB4 #B41E67
split-complementary
#B2B41E #1E67B4 #6B1EB4
monochromatic
#4A4B0D #7E8015 #B2B41E #DBDD32 #E4E667

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B41E#FFFFFF#000000##000000
##B2B41E1.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: #b2b41e;
/* rgb */ color: rgb(178, 180, 30);
/* oklch */ color: oklch(74.4% 0.156 110.5);
Tailwind
colors: {
  custom: {
    50: '#cdca6b',
    500: '#b2b41e',
    950: '#000000',
  },
}
SCSS
$custom: #b2b41e;
$custom-light: #cdca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b41e",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 30
  },
  "hsl": {
    "h": 60.8,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.74429,
    "c": 0.15597,
    "h": 110.5
  },
  "luminance": 0.42201
}

Semantic roles & 50–950 ramp

primary
#B2B41E
secondary
#6463CB
accent
#3AEE3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B2B41E

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

Preview Lab → · Contrast checker → · Palette generator →

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