#B2BA4D#B2BA4D

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

Color values

HEX#B2BA4D
RGBrgb(178, 186, 77)
HSLhsl(64, 44%, 52%)
HSVhsv(64, 59%, 73%)
CMYKcmyk(4.3%, 0%, 58.6%, 27.1%)
CIE-LABlab(72.97, -17.56, 53.02)
CIE-LCHlch(72.97, 55.85, 108.32°)
OKLaboklab(76.09% -0.052 0.1223)
OKLCHoklch(76.09% 0.133 113)
XYZxyz(37.2594, 45.1193, 13.7659)
Luminance0.4512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA4D #554DBA
analogous
#BA8C4D #B2BA4D #7CBA4D
triadic
#B2BA4D #4DB2BA #BA4DB2
tetradic
#B2BA4D #4DBA8C #554DBA #BA4D7C
square
#B2BA4D #4DBA8C #554DBA #BA4D7C
split-complementary
#B2BA4D #4D7CBA #8C4DBA
monochromatic
#616527 #8B9138 #B2BA4D #C5CB79 #D8DCA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BA4D#FFFFFF#000000##000000
##B2BA4D1.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)
#C7B241
Deuteranopia (green-blind)
#C7B454
Tritanopia (blue-blind)
#BDB0A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba4d;
/* rgb */ color: rgb(178, 186, 77);
/* oklch */ color: oklch(76.1% 0.133 113.0);
Tailwind
colors: {
  custom: {
    50: '#cbce83',
    500: '#b2ba4d',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba4d;
$custom-light: #cbce83;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba4d",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 77
  },
  "hsl": {
    "h": 64.404,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76092,
    "c": 0.13285,
    "h": 113
  },
  "luminance": 0.45119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2BA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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