#B2C059#B2C059

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

Color values

HEX#B2C059
RGBrgb(178, 192, 89)
HSLhsl(68, 45%, 55%)
HSVhsv(68, 54%, 75%)
CMYKcmyk(7.3%, 0%, 53.6%, 24.7%)
CIE-LABlab(74.75, -19.59, 49.55)
CIE-LCHlch(74.75, 53.28, 111.57°)
OKLaboklab(77.56% -0.0565 0.1162)
OKLCHoklch(77.56% 0.129 115.9)
XYZxyz(39.0135, 47.8860, 16.6370)
Luminance0.4789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C059 #6759C0
analogous
#C09A59 #B2C059 #7FC059
triadic
#B2C059 #59B2C0 #C059B2
tetradic
#B2C059 #59C09A #6759C0 #C0597F
square
#B2C059 #59C09A #6759C0 #C0597F
split-complementary
#B2C059 #597FC0 #9A59C0
monochromatic
#69732C #929F3C #B2C059 #C7D185 #DBE2B2

Accessibility & contrast

On white

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

On black

10.58
#B2C059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C059
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C059#FFFFFF#000000##000000
##B2C0591.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c059;
/* rgb */ color: rgb(178, 192, 89);
/* oklch */ color: oklch(77.6% 0.129 115.9);
Tailwind
colors: {
  custom: {
    50: '#cbd38b',
    500: '#b2c059',
    950: '#000000',
  },
}
SCSS
$custom: #b2c059;
$custom-light: #cbd38b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c059",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 68.155,
    "s": 44.978,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77556,
    "c": 0.12917,
    "h": 115.9
  },
  "luminance": 0.47886
}

Semantic roles & 50–950 ramp

primary
#B2C059
secondary
#ABA5D0
accent
#53D565
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B2C059

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

Preview Lab → · Contrast checker → · Palette generator →

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