#B2BA45#B2BA45

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

Color values

HEX#B2BA45
RGBrgb(178, 186, 69)
HSLhsl(64, 46%, 50%)
HSVhsv(64, 63%, 73%)
CMYKcmyk(4.3%, 0%, 62.9%, 27.1%)
CIE-LABlab(72.90, -18.13, 56.42)
CIE-LCHlch(72.90, 59.26, 107.81°)
OKLaboklab(76.01% -0.0544 0.1284)
OKLCHoklch(76.01% 0.139 113)
XYZxyz(36.9941, 45.0132, 12.3687)
Luminance0.4501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA45 #4D45BA
analogous
#BA8845 #B2BA45 #77BA45
triadic
#B2BA45 #45B2BA #BA45B2
tetradic
#B2BA45 #45BA88 #4D45BA #BA4577
square
#B2BA45 #45BA88 #4D45BA #BA4577
split-complementary
#B2BA45 #4577BA #8845BA
monochromatic
#5D6124 #878D34 #B2BA45 #C4CB72 #D7DB9E

Accessibility & contrast

On white

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

On black

10.00
#B2BA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA45
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA45#FFFFFF#000000##000000
##B2BA451.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B236
Deuteranopia (green-blind)
#C7B44D
Tritanopia (blue-blind)
#BDAFA2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba45;
/* rgb */ color: rgb(178, 186, 69);
/* oklch */ color: oklch(76.0% 0.139 113.0);
Tailwind
colors: {
  custom: {
    50: '#ccce7e',
    500: '#b2ba45',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba45;
$custom-light: #ccce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba45",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 64.103,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.76013,
    "c": 0.13944,
    "h": 113
  },
  "luminance": 0.45012
}

Semantic roles & 50–950 ramp

primary
#B2BA45
secondary
#9793C8
accent
#52D65B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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