#B2C645#B2C645

#B2C645 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.7% C 0.153 H 117.6°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#B2C645
RGBrgb(178, 198, 69)
HSLhsl(69, 53%, 52%)
HSVhsv(69, 65%, 78%)
CMYKcmyk(10.1%, 0%, 65.2%, 22.4%)
CIE-LABlab(76.24, -24.07, 59.94)
CIE-LCHlch(76.24, 64.59, 111.88°)
OKLaboklab(78.69% -0.071 0.1358)
OKLCHoklch(78.69% 0.153 117.6)
XYZxyz(39.6291, 50.2832, 13.2470)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C645 #5945C6
analogous
#C69945 #B2C645 #72C645
triadic
#B2C645 #45B2C6 #C645B2
tetradic
#B2C645 #45C699 #5945C6 #C64572
square
#B2C645 #45C699 #5945C6 #C64572
split-complementary
#B2C645 #4572C6 #9945C6
monochromatic
#636F22 #8D9E30 #B2C645 #C5D474 #D9E3A3

Accessibility & contrast

On white

1.90
#B2C645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#B2C645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C645
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C645#FFFFFF#000000##000000
##B2C6451.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC33
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#BCBBAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b2c645;
/* rgb */ color: rgb(178, 198, 69);
/* oklch */ color: oklch(78.7% 0.153 117.6);
Tailwind
colors: {
  custom: {
    50: '#ccd77f',
    500: '#b2c645',
    950: '#000000',
  },
}
SCSS
$custom: #b2c645;
$custom-light: #ccd77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c645",
  "rgb": {
    "r": 178,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 69.302,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78693,
    "c": 0.15327,
    "h": 117.6
  },
  "luminance": 0.50283
}

Semantic roles & 50–950 ramp

primary
#B2C645
secondary
#413778
accent
#4BDC62
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2C645

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

Preview Lab → · Contrast checker → · Palette generator →

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