#B2C440#B2C440

#B2C440 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.2% C 0.155 H 116.8°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#B2C440
RGBrgb(178, 196, 64)
HSLhsl(68, 53%, 51%)
HSVhsv(68, 67%, 77%)
CMYKcmyk(9.2%, 0%, 67.3%, 23.1%)
CIE-LABlab(75.65, -23.40, 61.30)
CIE-LCHlch(75.65, 65.61, 110.90°)
OKLaboklab(78.2% -0.0697 0.1379)
OKLCHoklch(78.2% 0.155 116.8)
XYZxyz(39.0263, 49.3155, 12.3124)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C440 #5240C4
analogous
#C49440 #B2C440 #70C440
triadic
#B2C440 #40B2C4 #C440B2
tetradic
#B2C440 #40C494 #5240C4 #C44070
square
#B2C440 #40C494 #5240C4 #C44070
split-complementary
#B2C440 #4070C4 #9440C4
monochromatic
#5F6920 #8A982F #B2C440 #C5D26F #D8E19E

Accessibility & contrast

On white

1.93
#B2C440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#B2C440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C440
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C440#FFFFFF#000000##000000
##B2C4401.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2C
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#BDB9A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b2c440;
/* rgb */ color: rgb(178, 196, 64);
/* oklch */ color: oklch(78.2% 0.155 116.8);
Tailwind
colors: {
  custom: {
    50: '#ccd57c',
    500: '#b2c440',
    950: '#000000',
  },
}
SCSS
$custom: #b2c440;
$custom-light: #ccd57c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c440",
  "rgb": {
    "r": 178,
    "g": 196,
    "b": 64
  },
  "hsl": {
    "h": 68.182,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78203,
    "c": 0.15453,
    "h": 116.8
  },
  "luminance": 0.49315
}

Semantic roles & 50–950 ramp

primary
#B2C440
secondary
#9B93CD
accent
#4CDC5F
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #B2C440

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

Preview Lab → · Contrast checker → · Palette generator →

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