#B2C155#B2C155

#B2C155 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.7% C 0.134 H 116.2°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#B2C155
RGBrgb(178, 193, 85)
HSLhsl(68, 47%, 55%)
HSVhsv(68, 56%, 76%)
CMYKcmyk(7.8%, 0%, 56%, 24.3%)
CIE-LABlab(74.99, -20.43, 51.67)
CIE-LCHlch(74.99, 55.56, 111.57°)
OKLaboklab(77.73% -0.0592 0.1203)
OKLCHoklch(77.73% 0.134 116.2)
XYZxyz(39.0704, 48.2613, 15.8497)
Luminance0.4826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C155 #6455C1
analogous
#C19A55 #B2C155 #7CC155
triadic
#B2C155 #55B2C1 #C155B2
tetradic
#B2C155 #55C19A #6455C1 #C1557C
square
#B2C155 #55C19A #6455C1 #C1557C
split-complementary
#B2C155 #557CC1 #9A55C1
monochromatic
#68722A #919F3A #B2C155 #C6D182 #DBE2AF

Accessibility & contrast

On white

1.97
#B2C155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#B2C155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C155
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C155#FFFFFF#000000##000000
##B2C1551.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84A
Deuteranopia (green-blind)
#CCB95B
Tritanopia (blue-blind)
#BCB7A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c155;
/* rgb */ color: rgb(178, 193, 85);
/* oklch */ color: oklch(77.7% 0.134 116.2);
Tailwind
colors: {
  custom: {
    50: '#cbd388',
    500: '#b2c155',
    950: '#000000',
  },
}
SCSS
$custom: #b2c155;
$custom-light: #cbd388;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c155",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 68.333,
    "s": 46.552,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77732,
    "c": 0.1341,
    "h": 116.2
  },
  "luminance": 0.48261
}

Semantic roles & 50–950 ramp

primary
#B2C155
secondary
#A8A2D0
accent
#52D664
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B2C155

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

Preview Lab → · Contrast checker → · Palette generator →

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