#B2B350#B2B350

#B2B350 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.122 H 109.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#B2B350
RGBrgb(178, 179, 80)
HSLhsl(61, 39%, 51%)
HSVhsv(61, 55%, 70%)
CMYKcmyk(0.6%, 0%, 55.3%, 29.8%)
CIE-LABlab(71.07, -13.76, 49.52)
CIE-LCHlch(71.07, 51.39, 105.53°)
OKLaboklab(74.58% -0.0409 0.1151)
OKLCHoklch(74.58% 0.122 109.6)
XYZxyz(35.9291, 42.2853, 13.8571)
Luminance0.4228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B350 #5150B3
analogous
#B38250 #B2B350 #80B350
triadic
#B2B350 #50B2B3 #B350B2
tetradic
#B2B350 #50B382 #5150B3 #B35080
square
#B2B350 #50B382 #5150B3 #B35080
split-complementary
#B2B350 #5080B3 #8250B3
monochromatic
#5F5F29 #898A3C #B2B350 #C5C67B #D8D8A5

Accessibility & contrast

On white

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

On black

9.46
#B2B350 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B350
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B350#FFFFFF#000000##000000
##B2B3501.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC46
Deuteranopia (green-blind)
#C1B055
Tritanopia (blue-blind)
#BDA99D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b350;
/* rgb */ color: rgb(178, 179, 80);
/* oklch */ color: oklch(74.6% 0.122 109.6);
Tailwind
colors: {
  custom: {
    50: '#cbc984',
    500: '#b2b350',
    950: '#000000',
  },
}
SCSS
$custom: #b2b350;
$custom-light: #cbc984;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b350",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 80
  },
  "hsl": {
    "h": 60.606,
    "s": 39.442,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74581,
    "c": 0.12218,
    "h": 109.6
  },
  "luminance": 0.42284
}

Semantic roles & 50–950 ramp

primary
#B2B350
secondary
#9A99C5
accent
#58CF5A
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B350

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

Preview Lab → · Contrast checker → · Palette generator →

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