#B2C345#B2C345

#B2C345 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.0% C 0.150 H 116.5°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#B2C345
RGBrgb(178, 195, 69)
HSLhsl(68, 51%, 52%)
HSVhsv(68, 65%, 76%)
CMYKcmyk(8.7%, 0%, 64.6%, 23.5%)
CIE-LABlab(75.40, -22.60, 59.06)
CIE-LCHlch(75.40, 63.24, 110.94°)
OKLaboklab(78.02% -0.0669 0.134)
OKLCHoklch(78.02% 0.15 116.5)
XYZxyz(38.9502, 48.9254, 13.0207)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C345 #5645C3
analogous
#C39545 #B2C345 #73C345
triadic
#B2C345 #45B2C3 #C345B2
tetradic
#B2C345 #45C395 #5645C3 #C34573
square
#B2C345 #45C395 #5645C3 #C34573
split-complementary
#B2C345 #4573C3 #9545C3
monochromatic
#616B23 #8B9931 #B2C345 #C5D273 #D8E1A2

Accessibility & contrast

On white

1.95
#B2C345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#B2C345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C345
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C345#FFFFFF#000000##000000
##B2C3451.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B934
Deuteranopia (green-blind)
#CEBB4E
Tritanopia (blue-blind)
#BDB8A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b2c345;
/* rgb */ color: rgb(178, 195, 69);
/* oklch */ color: oklch(78.0% 0.150 116.5);
Tailwind
colors: {
  custom: {
    50: '#ccd57f',
    500: '#b2c345',
    950: '#000000',
  },
}
SCSS
$custom: #b2c345;
$custom-light: #ccd57f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c345",
  "rgb": {
    "r": 178,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 68.095,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7802,
    "c": 0.14976,
    "h": 116.5
  },
  "luminance": 0.48925
}

Semantic roles & 50–950 ramp

primary
#B2C345
secondary
#9E96CE
accent
#4DDB60
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140A
muted
#82837C

Preview Lab

Preview with #B2C345

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

Preview Lab → · Contrast checker → · Palette generator →

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