#B2C256#B2C256

#B2C256 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.0% C 0.134 H 116.7°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#B2C256
RGBrgb(178, 194, 86)
HSLhsl(69, 47%, 55%)
HSVhsv(69, 56%, 76%)
CMYKcmyk(8.2%, 0%, 55.7%, 23.9%)
CIE-LABlab(75.28, -20.84, 51.54)
CIE-LCHlch(75.28, 55.59, 112.02°)
OKLaboklab(77.97% -0.0603 0.1202)
OKLCHoklch(77.97% 0.134 116.7)
XYZxyz(39.3322, 48.7209, 16.1343)
Luminance0.4872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C256 #6656C2
analogous
#C29C56 #B2C256 #7CC256
triadic
#B2C256 #56B2C2 #C256B2
tetradic
#B2C256 #56C29C #6656C2 #C2567C
square
#B2C256 #56C29C #6656C2 #C2567C
split-complementary
#B2C256 #567CC2 #9C56C2
monochromatic
#69742A #92A13A #B2C256 #C6D283 #DBE2B0

Accessibility & contrast

On white

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

On black

10.74
#B2C256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C256
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C256#FFFFFF#000000##000000
##B2C2561.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94B
Deuteranopia (green-blind)
#CCBA5C
Tritanopia (blue-blind)
#BCB8AA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c256;
/* rgb */ color: rgb(178, 194, 86);
/* oklch */ color: oklch(78.0% 0.134 116.7);
Tailwind
colors: {
  custom: {
    50: '#cbd489',
    500: '#b2c256',
    950: '#000000',
  },
}
SCSS
$custom: #b2c256;
$custom-light: #cbd489;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c256",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 68.889,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77966,
    "c": 0.13443,
    "h": 116.7
  },
  "luminance": 0.4872
}

Semantic roles & 50–950 ramp

primary
#B2C256
secondary
#AAA3D1
accent
#51D765
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B2C256

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

Preview Lab → · Contrast checker → · Palette generator →

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