#B2C545#B2C545

#B2C545 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.5% C 0.152 H 117.3°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#B2C545
RGBrgb(178, 197, 69)
HSLhsl(69, 52%, 52%)
HSVhsv(69, 65%, 77%)
CMYKcmyk(9.6%, 0%, 65%, 22.7%)
CIE-LABlab(75.96, -23.58, 59.65)
CIE-LCHlch(75.96, 64.14, 111.57°)
OKLaboklab(78.47% -0.0697 0.1352)
OKLCHoklch(78.47% 0.152 117.3)
XYZxyz(39.4013, 49.8276, 13.1711)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C545 #5845C5
analogous
#C59845 #B2C545 #72C545
triadic
#B2C545 #45B2C5 #C545B2
tetradic
#B2C545 #45C598 #5845C5 #C54572
square
#B2C545 #45C598 #5845C5 #C54572
split-complementary
#B2C545 #4572C5 #9845C5
monochromatic
#626D22 #8C9C31 #B2C545 #C5D474 #D9E2A2

Accessibility & contrast

On white

1.92
#B2C545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#B2C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C545
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C545#FFFFFF#000000##000000
##B2C5451.001.9210.9710.97
#FFFFFF1.921.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D0BC4E
Tritanopia (blue-blind)
#BCBAAB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b2c545;
/* rgb */ color: rgb(178, 197, 69);
/* oklch */ color: oklch(78.5% 0.152 117.3);
Tailwind
colors: {
  custom: {
    50: '#ccd67f',
    500: '#b2c545',
    950: '#000000',
  },
}
SCSS
$custom: #b2c545;
$custom-light: #ccd67f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c545",
  "rgb": {
    "r": 178,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 68.906,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78468,
    "c": 0.1521,
    "h": 117.3
  },
  "luminance": 0.49827
}

Semantic roles & 50–950 ramp

primary
#B2C545
secondary
#9F97CF
accent
#4CDC61
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140A
muted
#82837C

Preview Lab

Preview with #B2C545

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

Preview Lab → · Contrast checker → · Palette generator →

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