#B2C42E#B2C42E

#B2C42E is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.1% C 0.165 H 116.5°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#B2C42E
RGBrgb(178, 196, 46)
HSLhsl(67, 62%, 47%)
HSVhsv(67, 77%, 77%)
CMYKcmyk(9.2%, 0%, 76.5%, 23.1%)
CIE-LABlab(75.54, -24.32, 67.48)
CIE-LCHlch(75.54, 71.73, 109.82°)
OKLaboklab(78.08% -0.0738 0.148)
OKLCHoklch(78.08% 0.165 116.5)
XYZxyz(38.5942, 49.1426, 10.0366)
Luminance0.4914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C42E #402EC4
analogous
#C48B2E #B2C42E #67C42E
triadic
#B2C42E #2EB2C4 #C42EB2
tetradic
#B2C42E #2EC48B #402EC4 #C42E67
square
#B2C42E #2EC48B #402EC4 #C42E67
split-complementary
#B2C42E #2E67C4 #8B2EC4
monochromatic
#586117 #859222 #B2C42E #C8D858 #D8E389

Accessibility & contrast

On white

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

On black

10.83
#B2C42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C42E
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C42E#FFFFFF#000000##000000
##B2C42E1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B901
Deuteranopia (green-blind)
#D0BB3C
Tritanopia (blue-blind)
#BDB9A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b2c42e;
/* rgb */ color: rgb(178, 196, 46);
/* oklch */ color: oklch(78.1% 0.165 116.5);
Tailwind
colors: {
  custom: {
    50: '#cdd573',
    500: '#b2c42e',
    950: '#000000',
  },
}
SCSS
$custom: #b2c42e;
$custom-light: #cdd573;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c42e",
  "rgb": {
    "r": 178,
    "g": 196,
    "b": 46
  },
  "hsl": {
    "h": 67.2,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.78082,
    "c": 0.16536,
    "h": 116.5
  },
  "luminance": 0.49142
}

Semantic roles & 50–950 ramp

primary
#B2C42E
secondary
#8A81CD
accent
#43E556
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B2C42E

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

Preview Lab → · Contrast checker → · Palette generator →

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