#B2C745#B2C745

#B2C745 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 78.9% C 0.154 H 118.0°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#B2C745
RGBrgb(178, 199, 69)
HSLhsl(70, 54%, 53%)
HSVhsv(70, 65%, 78%)
CMYKcmyk(10.6%, 0%, 65.3%, 22%)
CIE-LABlab(76.52, -24.55, 60.23)
CIE-LCHlch(76.52, 65.04, 112.18°)
OKLaboklab(78.92% -0.0724 0.1364)
OKLCHoklch(78.92% 0.154 118)
XYZxyz(39.8585, 50.7419, 13.3235)
Luminance0.5074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C745 #5A45C7
analogous
#C79B45 #B2C745 #71C745
triadic
#B2C745 #45B2C7 #C745B2
tetradic
#B2C745 #45C79B #5A45C7 #C74571
square
#B2C745 #45C79B #5A45C7 #C74571
split-complementary
#B2C745 #4571C7 #9B45C7
monochromatic
#637022 #8D9F30 #B2C745 #C5D574 #D9E3A3

Accessibility & contrast

On white

1.88
#B2C745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#B2C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C745
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C745#FFFFFF#000000##000000
##B2C7451.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD33
Deuteranopia (green-blind)
#D2BD4E
Tritanopia (blue-blind)
#BCBCAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c745;
/* rgb */ color: rgb(178, 199, 69);
/* oklch */ color: oklch(78.9% 0.154 118.0);
Tailwind
colors: {
  custom: {
    50: '#ccd87f',
    500: '#b2c745',
    950: '#000000',
  },
}
SCSS
$custom: #b2c745;
$custom-light: #ccd87f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c745",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 69.692,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78917,
    "c": 0.15445,
    "h": 118
  },
  "luminance": 0.50741
}

Semantic roles & 50–950 ramp

primary
#B2C745
secondary
#423779
accent
#4BDD62
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C745

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

Preview Lab → · Contrast checker → · Palette generator →

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