#B2C142#B2C142

#B2C142 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.150 H 115.8°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#B2C142
RGBrgb(178, 193, 66)
HSLhsl(67, 51%, 51%)
HSVhsv(67, 66%, 76%)
CMYKcmyk(7.8%, 0%, 65.8%, 24.3%)
CIE-LABlab(74.82, -21.81, 59.67)
CIE-LCHlch(74.82, 63.53, 110.08°)
OKLaboklab(77.55% -0.065 0.1348)
OKLCHoklch(77.55% 0.15 115.8)
XYZxyz(38.4143, 47.9988, 12.3943)
Luminance0.4800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C142 #5142C1
analogous
#C19142 #B2C142 #72C142
triadic
#B2C142 #42B2C1 #C142B2
tetradic
#B2C142 #42C191 #5142C1 #C14272
square
#B2C142 #42C191 #5142C1 #C14272
split-complementary
#B2C142 #4272C1 #9142C1
monochromatic
#5F6722 #899531 #B2C142 #C5D070 #D8DF9E

Accessibility & contrast

On white

1.98
#B2C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#B2C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C142
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C142#FFFFFF#000000##000000
##B2C1421.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#BDB6A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c142;
/* rgb */ color: rgb(178, 193, 66);
/* oklch */ color: oklch(77.5% 0.150 115.8);
Tailwind
colors: {
  custom: {
    50: '#ccd37d',
    500: '#b2c142',
    950: '#000000',
  },
}
SCSS
$custom: #b2c142;
$custom-light: #ccd37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c142",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 67.087,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77547,
    "c": 0.14967,
    "h": 115.8
  },
  "luminance": 0.47998
}

Semantic roles & 50–950 ramp

primary
#B2C142
secondary
#9A93CC
accent
#4EDA5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2C142

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

Preview Lab → · Contrast checker → · Palette generator →

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