#B2B643#B2B643

#B2B643 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.67:1 contrast (WCAG AA passes).

Color values

HEX#B2B643
RGBrgb(178, 182, 67)
HSLhsl(62, 46%, 49%)
HSVhsv(62, 63%, 71%)
CMYKcmyk(2.2%, 0%, 63.2%, 28.6%)
CIE-LABlab(71.78, -16.24, 56.06)
CIE-LCHlch(71.78, 58.37, 106.16°)
OKLaboklab(75.11% -0.0493 0.1274)
OKLCHoklch(75.11% 0.137 111.2)
XYZxyz(36.1022, 43.3270, 11.7703)
Luminance0.4333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B643 #4743B6
analogous
#B68143 #B2B643 #79B643
triadic
#B2B643 #43B2B6 #B643B2
tetradic
#B2B643 #43B681 #4743B6 #B64379
square
#B2B643 #43B681 #4743B6 #B64379
split-complementary
#B2B643 #4379B6 #8143B6
monochromatic
#5B5D22 #868933 #B2B643 #C6C96D #D7DA9A

Accessibility & contrast

On white

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

On black

9.67
#B2B643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B643
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B643#FFFFFF#000000##000000
##B2B6431.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b643;
/* rgb */ color: rgb(178, 182, 67);
/* oklch */ color: oklch(75.1% 0.137 111.2);
Tailwind
colors: {
  custom: {
    50: '#cccb7d',
    500: '#b2b643',
    950: '#000000',
  },
}
SCSS
$custom: #b2b643;
$custom-light: #cccb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b643",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 62.087,
    "s": 46.185,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75109,
    "c": 0.13657,
    "h": 111.2
  },
  "luminance": 0.43326
}

Semantic roles & 50–950 ramp

primary
#B2B643
secondary
#918FC6
accent
#52D657
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B643

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

Preview Lab → · Contrast checker → · Palette generator →

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