#B2BA35#B2BA35

#B2BA35 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.9% C 0.151 H 112.9°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#B2BA35
RGBrgb(178, 186, 53)
HSLhsl(64, 56%, 47%)
HSVhsv(64, 72%, 73%)
CMYKcmyk(4.3%, 0%, 71.5%, 27.1%)
CIE-LABlab(72.79, -19.06, 62.56)
CIE-LCHlch(72.79, 65.40, 106.95°)
OKLaboklab(75.89% -0.0586 0.1388)
OKLCHoklch(75.89% 0.151 112.9)
XYZxyz(36.5627, 44.8406, 10.0965)
Luminance0.4484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA35 #3D35BA
analogous
#BA8035 #B2BA35 #70BA35
triadic
#B2BA35 #35B2BA #BA35B2
tetradic
#B2BA35 #35BA80 #3D35BA #BA3570
square
#B2BA35 #35BA80 #3D35BA #BA3570
split-complementary
#B2BA35 #3570BA #8035BA
monochromatic
#575B1A #848A27 #B2BA35 #C9D05C #D9DE8B

Accessibility & contrast

On white

2.11
#B2BA35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#B2BA35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA35
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA35#FFFFFF#000000##000000
##B2BA351.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B11D
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#BEAFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba35;
/* rgb */ color: rgb(178, 186, 53);
/* oklch */ color: oklch(75.9% 0.151 112.9);
Tailwind
colors: {
  custom: {
    50: '#ccce75',
    500: '#b2ba35',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba35;
$custom-light: #ccce75;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba35",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 53
  },
  "hsl": {
    "h": 63.609,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75886,
    "c": 0.15066,
    "h": 112.9
  },
  "luminance": 0.4484
}

Semantic roles & 50–950 ramp

primary
#B2BA35
secondary
#8782C8
accent
#49DF52
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BA35

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

Preview Lab → · Contrast checker → · Palette generator →

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