#B2C057#B2C057

#B2C057 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.5% C 0.131 H 115.9°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#B2C057
RGBrgb(178, 192, 87)
HSLhsl(68, 45%, 55%)
HSVhsv(68, 55%, 75%)
CMYKcmyk(7.3%, 0%, 54.7%, 24.7%)
CIE-LABlab(74.73, -19.76, 50.46)
CIE-LCHlch(74.73, 54.19, 111.39°)
OKLaboklab(77.53% -0.0572 0.1179)
OKLCHoklch(77.53% 0.131 115.9)
XYZxyz(38.9307, 47.8529, 16.2006)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C057 #6557C0
analogous
#C09A57 #B2C057 #7EC057
triadic
#B2C057 #57B2C0 #C057B2
tetradic
#B2C057 #57C09A #6557C0 #C0577E
square
#B2C057 #57C09A #6557C0 #C0577E
split-complementary
#B2C057 #577EC0 #9A57C0
monochromatic
#68722B #919E3B #B2C057 #C6D184 #DBE1B0

Accessibility & contrast

On white

1.99
#B2C057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#B2C057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C057
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C057#FFFFFF#000000##000000
##B2C0571.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74C
Deuteranopia (green-blind)
#CBB95D
Tritanopia (blue-blind)
#BCB6A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c057;
/* rgb */ color: rgb(178, 192, 87);
/* oklch */ color: oklch(77.5% 0.131 115.9);
Tailwind
colors: {
  custom: {
    50: '#cbd38a',
    500: '#b2c057',
    950: '#000000',
  },
}
SCSS
$custom: #b2c057;
$custom-light: #cbd38a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c057",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 68,
    "s": 45.455,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77533,
    "c": 0.13104,
    "h": 115.9
  },
  "luminance": 0.47852
}

Semantic roles & 50–950 ramp

primary
#B2C057
secondary
#A9A3D0
accent
#53D564
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B2C057

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

Preview Lab → · Contrast checker → · Palette generator →

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