#B2C742#B2C742

#B2C742 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 78.9% C 0.157 H 117.9°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#B2C742
RGBrgb(178, 199, 66)
HSLhsl(69, 54%, 52%)
HSVhsv(69, 67%, 78%)
CMYKcmyk(10.6%, 0%, 66.8%, 22%)
CIE-LABlab(76.50, -24.74, 61.39)
CIE-LCHlch(76.50, 66.19, 111.95°)
OKLaboklab(78.89% -0.0732 0.1384)
OKLCHoklch(78.89% 0.157 117.9)
XYZxyz(39.7677, 50.7056, 12.8454)
Luminance0.5071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C742 #5742C7
analogous
#C79A42 #B2C742 #6FC742
triadic
#B2C742 #42B2C7 #C742B2
tetradic
#B2C742 #42C79A #5742C7 #C7426F
square
#B2C742 #42C79A #5742C7 #C7426F
split-complementary
#B2C742 #426FC7 #9A42C7
monochromatic
#626E21 #8C9D2F #B2C742 #C5D571 #D8E3A0

Accessibility & contrast

On white

1.88
#B2C742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#B2C742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C742
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C742#FFFFFF#000000##000000
##B2C7421.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2F
Deuteranopia (green-blind)
#D2BD4C
Tritanopia (blue-blind)
#BCBCAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c742;
/* rgb */ color: rgb(178, 199, 66);
/* oklch */ color: oklch(78.9% 0.157 117.9);
Tailwind
colors: {
  custom: {
    50: '#ccd87e',
    500: '#b2c742',
    950: '#000000',
  },
}
SCSS
$custom: #b2c742;
$custom-light: #ccd87e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c742",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 69.474,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78892,
    "c": 0.1566,
    "h": 117.9
  },
  "luminance": 0.50705
}

Semantic roles & 50–950 ramp

primary
#B2C742
secondary
#403678
accent
#4ADE61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2C742

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

Preview Lab → · Contrast checker → · Palette generator →

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