#B2B641#B2B641

#B2B641 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.1% C 0.138 H 111.2°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#B2B641
RGBrgb(178, 182, 65)
HSLhsl(62, 47%, 48%)
HSVhsv(62, 64%, 71%)
CMYKcmyk(2.2%, 0%, 64.3%, 28.6%)
CIE-LABlab(71.76, -16.37, 56.88)
CIE-LCHlch(71.76, 59.19, 106.05°)
OKLaboklab(75.09% -0.0499 0.1288)
OKLCHoklch(75.09% 0.138 111.2)
XYZxyz(36.0432, 43.3034, 11.4597)
Luminance0.4330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B641 #4541B6
analogous
#B67F41 #B2B641 #77B641
triadic
#B2B641 #41B2B6 #B641B2
tetradic
#B2B641 #41B67F #4541B6 #B64177
square
#B2B641 #41B67F #4541B6 #B64177
split-complementary
#B2B641 #4177B6 #7F41B6
monochromatic
#5A5C21 #868931 #B2B641 #C7CA6A #D8DA97

Accessibility & contrast

On white

2.17
#B2B641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#B2B641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B641
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B641#FFFFFF#000000##000000
##B2B6411.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE32
Deuteranopia (green-blind)
#C4B149
Tritanopia (blue-blind)
#BEAB9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b641;
/* rgb */ color: rgb(178, 182, 65);
/* oklch */ color: oklch(75.1% 0.138 111.2);
Tailwind
colors: {
  custom: {
    50: '#cccb7b',
    500: '#b2b641',
    950: '#000000',
  },
}
SCSS
$custom: #b2b641;
$custom-light: #cccb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b641",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 65
  },
  "hsl": {
    "h": 62.051,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75091,
    "c": 0.13811,
    "h": 111.2
  },
  "luminance": 0.43303
}

Semantic roles & 50–950 ramp

primary
#B2B641
secondary
#8F8DC6
accent
#51D755
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B641

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

Preview Lab → · Contrast checker → · Palette generator →

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