#B2B442#B2B442

#B2B442 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.7% C 0.135 H 110.2°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#B2B442
RGBrgb(178, 180, 66)
HSLhsl(61, 46%, 48%)
HSVhsv(61, 63%, 71%)
CMYKcmyk(1.1%, 0%, 63.3%, 29.4%)
CIE-LABlab(71.22, -15.29, 55.89)
CIE-LCHlch(71.22, 57.95, 105.30°)
OKLaboklab(74.66% -0.0467 0.1268)
OKLCHoklch(74.66% 0.135 110.2)
XYZxyz(35.6658, 42.5018, 11.4781)
Luminance0.4250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B442 #4442B4
analogous
#B47D42 #B2B442 #79B442
triadic
#B2B442 #42B2B4 #B442B2
tetradic
#B2B442 #42B47D #4442B4 #B44279
square
#B2B442 #42B47D #4442B4 #B44279
split-complementary
#B2B442 #4279B4 #7D42B4
monochromatic
#595A21 #868732 #B2B442 #C7C96B #D8D997

Accessibility & contrast

On white

2.21
#B2B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#B2B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B442
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B442#FFFFFF#000000##000000
##B2B4421.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD33
Deuteranopia (green-blind)
#C3B049
Tritanopia (blue-blind)
#BEA99C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b442;
/* rgb */ color: rgb(178, 180, 66);
/* oklch */ color: oklch(74.7% 0.135 110.2);
Tailwind
colors: {
  custom: {
    50: '#ccca7c',
    500: '#b2b442',
    950: '#000000',
  },
}
SCSS
$custom: #b2b442;
$custom-light: #ccca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b442",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 61.053,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74659,
    "c": 0.13518,
    "h": 110.2
  },
  "luminance": 0.42501
}

Semantic roles & 50–950 ramp

primary
#B2B442
secondary
#8E8DC5
accent
#52D654
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B442

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

Preview Lab → · Contrast checker → · Palette generator →

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