#B2C043#B2C043

#B2C043 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.3% C 0.148 H 115.4°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#B2C043
RGBrgb(178, 192, 67)
HSLhsl(67, 50%, 51%)
HSVhsv(67, 65%, 75%)
CMYKcmyk(7.3%, 0%, 65.1%, 24.7%)
CIE-LABlab(74.55, -21.25, 58.98)
CIE-LCHlch(74.55, 62.69, 109.81°)
OKLaboklab(77.33% -0.0634 0.1335)
OKLCHoklch(77.33% 0.148 115.4)
XYZxyz(38.2238, 47.5701, 12.4775)
Luminance0.4757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C043 #5143C0
analogous
#C08F43 #B2C043 #73C043
triadic
#B2C043 #43B2C0 #C043B2
tetradic
#B2C043 #43C08F #5143C0 #C04373
square
#B2C043 #43C08F #5143C0 #C04373
split-complementary
#B2C043 #4373C0 #8F43C0
monochromatic
#5F6622 #899432 #B2C043 #C5CF71 #D8DF9F

Accessibility & contrast

On white

2.00
#B2C043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#B2C043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C043
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C043#FFFFFF#000000##000000
##B2C0431.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB732
Deuteranopia (green-blind)
#CCB84C
Tritanopia (blue-blind)
#BDB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c043;
/* rgb */ color: rgb(178, 192, 67);
/* oklch */ color: oklch(77.3% 0.148 115.4);
Tailwind
colors: {
  custom: {
    50: '#ccd27d',
    500: '#b2c043',
    950: '#000000',
  },
}
SCSS
$custom: #b2c043;
$custom-light: #ccd27d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c043",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 66.72,
    "s": 49.801,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77332,
    "c": 0.14779,
    "h": 115.4
  },
  "luminance": 0.47569
}

Semantic roles & 50–950 ramp

primary
#B2C043
secondary
#9A94CB
accent
#4ED95E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2C043

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

Preview Lab → · Contrast checker → · Palette generator →

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