#B2BA4B#B2BA4B

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

Color values

HEX#B2BA4B
RGBrgb(178, 186, 75)
HSLhsl(64, 45%, 51%)
HSVhsv(64, 60%, 73%)
CMYKcmyk(4.3%, 0%, 59.7%, 27.1%)
CIE-LABlab(72.95, -17.71, 53.88)
CIE-LCHlch(72.95, 56.72, 108.19°)
OKLaboklab(76.07% -0.0526 0.1238)
OKLCHoklch(76.07% 0.135 113)
XYZxyz(37.1899, 45.0915, 13.3997)
Luminance0.4509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA4B #534BBA
analogous
#BA8A4B #B2BA4B #7ABA4B
triadic
#B2BA4B #4BB2BA #BA4BB2
tetradic
#B2BA4B #4BBA8A #534BBA #BA4B7A
square
#B2BA4B #4BBA8A #534BBA #BA4B7A
split-complementary
#B2BA4B #4B7ABA #8A4BBA
monochromatic
#606426 #8A9037 #B2BA4B #C5CB77 #D8DCA3

Accessibility & contrast

On white

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

On black

10.02
#B2BA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA4B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA4B#FFFFFF#000000##000000
##B2BA4B1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ba4b;
/* rgb */ color: rgb(178, 186, 75);
/* oklch */ color: oklch(76.1% 0.135 113.0);
Tailwind
colors: {
  custom: {
    50: '#cbce82',
    500: '#b2ba4b',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba4b;
$custom-light: #cbce82;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba4b",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 64.324,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76071,
    "c": 0.13455,
    "h": 113
  },
  "luminance": 0.45091
}

Semantic roles & 50–950 ramp

primary
#B2BA4B
secondary
#9B98C9
accent
#54D45D
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2BA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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