#B2B642#B2B642

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

Color values

HEX#B2B642
RGBrgb(178, 182, 66)
HSLhsl(62, 47%, 49%)
HSVhsv(62, 64%, 71%)
CMYKcmyk(2.2%, 0%, 63.7%, 28.6%)
CIE-LABlab(71.77, -16.31, 56.48)
CIE-LCHlch(71.77, 58.78, 106.10°)
OKLaboklab(75.1% -0.0496 0.1281)
OKLCHoklch(75.1% 0.137 111.2)
XYZxyz(36.0725, 43.3151, 11.6136)
Luminance0.4331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B642 #4642B6
analogous
#B68042 #B2B642 #78B642
triadic
#B2B642 #42B2B6 #B642B2
tetradic
#B2B642 #42B680 #4642B6 #B64278
square
#B2B642 #42B680 #4642B6 #B64278
split-complementary
#B2B642 #4278B6 #8042B6
monochromatic
#5A5C21 #868932 #B2B642 #C6CA6C #D8DA99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B642#FFFFFF#000000##000000
##B2B6421.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)
#C4AE33
Deuteranopia (green-blind)
#C4B14A
Tritanopia (blue-blind)
#BEAB9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b642;
/* rgb */ color: rgb(178, 182, 66);
/* oklch */ color: oklch(75.1% 0.137 111.2);
Tailwind
colors: {
  custom: {
    50: '#cccb7c',
    500: '#b2b642',
    950: '#000000',
  },
}
SCSS
$custom: #b2b642;
$custom-light: #cccb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b642",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 62.069,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.751,
    "c": 0.13734,
    "h": 111.2
  },
  "luminance": 0.43314
}

Semantic roles & 50–950 ramp

primary
#B2B642
secondary
#908EC6
accent
#51D656
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B642

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

Preview Lab → · Contrast checker → · Palette generator →

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