#B2BA52#B2BA52

#B2BA52 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.128 H 113.1°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#B2BA52
RGBrgb(178, 186, 82)
HSLhsl(65, 43%, 53%)
HSVhsv(65, 56%, 73%)
CMYKcmyk(4.3%, 0%, 55.9%, 27.1%)
CIE-LABlab(73.02, -17.17, 50.81)
CIE-LCHlch(73.02, 53.63, 108.67°)
OKLaboklab(76.15% -0.0503 0.1181)
OKLCHoklch(76.15% 0.128 113.1)
XYZxyz(37.4428, 45.1927, 14.7316)
Luminance0.4519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA52 #5A52BA
analogous
#BA8E52 #B2BA52 #7EBA52
triadic
#B2BA52 #52B2BA #BA52B2
tetradic
#B2BA52 #52BA8E #5A52BA #BA527E
square
#B2BA52 #52BA8E #5A52BA #BA527E
split-complementary
#B2BA52 #527EBA #8E52BA
monochromatic
#63682A #8D943B #B2BA52 #C5CB7E #D9DDAA

Accessibility & contrast

On white

2.09
#B2BA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#B2BA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA52
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA52#FFFFFF#000000##000000
##B2BA521.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B247
Deuteranopia (green-blind)
#C6B458
Tritanopia (blue-blind)
#BDB0A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba52;
/* rgb */ color: rgb(178, 186, 82);
/* oklch */ color: oklch(76.1% 0.128 113.1);
Tailwind
colors: {
  custom: {
    50: '#cbce86',
    500: '#b2ba52',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba52;
$custom-light: #cbce86;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba52",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 64.615,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76146,
    "c": 0.12841,
    "h": 113.1
  },
  "luminance": 0.45192
}

Semantic roles & 50–950 ramp

primary
#B2BA52
secondary
#A19DCA
accent
#55D35F
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2BA52

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

Preview Lab → · Contrast checker → · Palette generator →

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