#B2BA48#B2BA48

#B2BA48 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.137 H 113.0°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#B2BA48
RGBrgb(178, 186, 72)
HSLhsl(64, 45%, 51%)
HSVhsv(64, 61%, 73%)
CMYKcmyk(4.3%, 0%, 61.3%, 27.1%)
CIE-LABlab(72.93, -17.92, 55.16)
CIE-LCHlch(72.93, 58.00, 108.00°)
OKLaboklab(76.04% -0.0535 0.1262)
OKLCHoklch(76.04% 0.137 113)
XYZxyz(37.0896, 45.0514, 12.8716)
Luminance0.4505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA48 #5048BA
analogous
#BA8948 #B2BA48 #79BA48
triadic
#B2BA48 #48B2BA #BA48B2
tetradic
#B2BA48 #48BA89 #5048BA #BA4879
square
#B2BA48 #48BA89 #5048BA #BA4879
split-complementary
#B2BA48 #4879BA #8948BA
monochromatic
#5E6225 #898F36 #B2BA48 #C5CB74 #D7DCA1

Accessibility & contrast

On white

2.10
#B2BA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#B2BA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA48
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA48#FFFFFF#000000##000000
##B2BA481.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23A
Deuteranopia (green-blind)
#C7B44F
Tritanopia (blue-blind)
#BDB0A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba48;
/* rgb */ color: rgb(178, 186, 72);
/* oklch */ color: oklch(76.0% 0.137 113.0);
Tailwind
colors: {
  custom: {
    50: '#ccce80',
    500: '#b2ba48',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba48;
$custom-light: #ccce80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba48",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 64.211,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76042,
    "c": 0.13705,
    "h": 113
  },
  "luminance": 0.45051
}

Semantic roles & 50–950 ramp

primary
#B2BA48
secondary
#9996C8
accent
#53D55C
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BA48

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

Preview Lab → · Contrast checker → · Palette generator →

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