#B2C357#B2C357

#B2C357 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.2% C 0.135 H 117.1°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#B2C357
RGBrgb(178, 195, 87)
HSLhsl(69, 47%, 55%)
HSVhsv(69, 55%, 76%)
CMYKcmyk(8.7%, 0%, 55.4%, 23.5%)
CIE-LABlab(75.57, -21.25, 51.41)
CIE-LCHlch(75.57, 55.63, 112.46°)
OKLaboklab(78.2% -0.0613 0.12)
OKLCHoklch(78.2% 0.135 117.1)
XYZxyz(39.5961, 49.1837, 16.4225)
Luminance0.4918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C357 #6857C3
analogous
#C39E57 #B2C357 #7CC357
triadic
#B2C357 #57B2C3 #C357B2
tetradic
#B2C357 #57C39E #6857C3 #C3577C
square
#B2C357 #57C39E #6857C3 #C3577C
split-complementary
#B2C357 #577CC3 #9E57C3
monochromatic
#6A762A #92A33A #B2C357 #C7D384 #DBE3B1

Accessibility & contrast

On white

1.94
#B2C357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#B2C357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C357
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C357#FFFFFF#000000##000000
##B2C3571.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4C
Deuteranopia (green-blind)
#CDBB5D
Tritanopia (blue-blind)
#BCB9AB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b2c357;
/* rgb */ color: rgb(178, 195, 87);
/* oklch */ color: oklch(78.2% 0.135 117.1);
Tailwind
colors: {
  custom: {
    50: '#cbd58a',
    500: '#b2c357',
    950: '#000000',
  },
}
SCSS
$custom: #b2c357;
$custom-light: #cbd58a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c357",
  "rgb": {
    "r": 178,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 69.444,
    "s": 47.368,
    "l": 55.294
  },
  "oklch": {
    "l": 0.782,
    "c": 0.13475,
    "h": 117.1
  },
  "luminance": 0.49183
}

Semantic roles & 50–950 ramp

primary
#B2C357
secondary
#ABA4D1
accent
#51D766
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#14140C
muted
#82837D

Preview Lab

Preview with #B2C357

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

Preview Lab → · Contrast checker → · Palette generator →

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