#B2BA4E#B2BA4E

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

Color values

HEX#B2BA4E
RGBrgb(178, 186, 78)
HSLhsl(64, 44%, 52%)
HSVhsv(64, 58%, 73%)
CMYKcmyk(4.3%, 0%, 58.1%, 27.1%)
CIE-LABlab(72.98, -17.48, 52.58)
CIE-LCHlch(72.98, 55.41, 108.39°)
OKLaboklab(76.1% -0.0516 0.1215)
OKLCHoklch(76.1% 0.132 113)
XYZxyz(37.2950, 45.1336, 13.9533)
Luminance0.4513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA4E #564EBA
analogous
#BA8C4E #B2BA4E #7CBA4E
triadic
#B2BA4E #4EB2BA #BA4EB2
tetradic
#B2BA4E #4EBA8C #564EBA #BA4E7C
square
#B2BA4E #4EBA8C #564EBA #BA4E7C
split-complementary
#B2BA4E #4E7CBA #8C4EBA
monochromatic
#616628 #8B9239 #B2BA4E #C5CB7A #D8DCA6

Accessibility & contrast

On white

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

On black

10.03
#B2BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA4E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA4E#FFFFFF#000000##000000
##B2BA4E1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ba4e;
/* rgb */ color: rgb(178, 186, 78);
/* oklch */ color: oklch(76.1% 0.132 113.0);
Tailwind
colors: {
  custom: {
    50: '#cbce84',
    500: '#b2ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba4e;
$custom-light: #cbce84;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba4e",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 64.444,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76102,
    "c": 0.13198,
    "h": 113
  },
  "luminance": 0.45133
}

Semantic roles & 50–950 ramp

primary
#B2BA4E
secondary
#9E9ACA
accent
#54D45E
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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