#B2C255#B2C255

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

Color values

HEX#B2C255
RGBrgb(178, 194, 85)
HSLhsl(69, 47%, 55%)
HSVhsv(69, 56%, 76%)
CMYKcmyk(8.2%, 0%, 56.2%, 23.9%)
CIE-LABlab(75.27, -20.92, 51.99)
CIE-LCHlch(75.27, 56.04, 111.92°)
OKLaboklab(77.96% -0.0606 0.121)
OKLCHoklch(77.96% 0.135 116.6)
XYZxyz(39.2922, 48.7049, 15.9236)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C255 #6555C2
analogous
#C29B55 #B2C255 #7CC255
triadic
#B2C255 #55B2C2 #C255B2
tetradic
#B2C255 #55C29B #6555C2 #C2557C
square
#B2C255 #55C29B #6555C2 #C2557C
split-complementary
#B2C255 #557CC2 #9B55C2
monochromatic
#687329 #91A03A #B2C255 #C6D282 #DBE2AF

Accessibility & contrast

On white

1.96
#B2C255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C255#FFFFFF#000000##000000
##B2C2551.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c255;
/* rgb */ color: rgb(178, 194, 85);
/* oklch */ color: oklch(78.0% 0.135 116.6);
Tailwind
colors: {
  custom: {
    50: '#cbd488',
    500: '#b2c255',
    950: '#000000',
  },
}
SCSS
$custom: #b2c255;
$custom-light: #cbd488;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c255",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 85
  },
  "hsl": {
    "h": 68.807,
    "s": 47.186,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77955,
    "c": 0.13533,
    "h": 116.6
  },
  "luminance": 0.48704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2C255

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

Preview Lab → · Contrast checker → · Palette generator →

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