#B2C626#B2C626

#B2C626 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.5% C 0.171 H 117.1°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#B2C626
RGBrgb(178, 198, 38)
HSLhsl(68, 68%, 46%)
HSVhsv(68, 81%, 78%)
CMYKcmyk(10.1%, 0%, 80.8%, 22.4%)
CIE-LABlab(76.07, -25.59, 70.23)
CIE-LCHlch(76.07, 74.75, 110.02°)
OKLaboklab(78.49% -0.0779 0.1525)
OKLCHoklch(78.49% 0.171 117.1)
XYZxyz(38.9051, 49.9936, 9.4336)
Luminance0.4999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C626 #3A26C6
analogous
#C68A26 #B2C626 #62C626
triadic
#B2C626 #26B2C6 #C626B2
tetradic
#B2C626 #26C68A #3A26C6 #C62662
square
#B2C626 #26C68A #3A26C6 #C62662
split-complementary
#B2C626 #2662C6 #8A26C6
monochromatic
#565F12 #84931C #B2C626 #CBDD4C #DAE780

Accessibility & contrast

On white

1.91
#B2C626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#B2C626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C626
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C626#FFFFFF#000000##000000
##B2C6261.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D2BC37
Tritanopia (blue-blind)
#BEBAA9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b2c626;
/* rgb */ color: rgb(178, 198, 38);
/* oklch */ color: oklch(78.5% 0.171 117.1);
Tailwind
colors: {
  custom: {
    50: '#cdd770',
    500: '#b2c626',
    950: '#000000',
  },
}
SCSS
$custom: #b2c626;
$custom-light: #cdd770;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c626",
  "rgb": {
    "r": 178,
    "g": 198,
    "b": 38
  },
  "hsl": {
    "h": 67.5,
    "s": 67.797,
    "l": 46.275
  },
  "oklch": {
    "l": 0.78493,
    "c": 0.17123,
    "h": 117.1
  },
  "luminance": 0.49993
}

Semantic roles & 50–950 ramp

primary
#B2C626
secondary
#8379CF
accent
#3DEB53
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141408
muted
#83837B

Preview Lab

Preview with #B2C626

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

Preview Lab → · Contrast checker → · Palette generator →

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