#B2C041#B2C041

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

Color values

HEX#B2C041
RGBrgb(178, 192, 65)
HSLhsl(67, 50%, 50%)
HSVhsv(67, 66%, 75%)
CMYKcmyk(7.3%, 0%, 66.1%, 24.7%)
CIE-LABlab(74.54, -21.38, 59.77)
CIE-LCHlch(74.54, 63.48, 109.68°)
OKLaboklab(77.32% -0.0639 0.1349)
OKLCHoklch(77.32% 0.149 115.4)
XYZxyz(38.1648, 47.5465, 12.1669)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C041 #4F41C0
analogous
#C08E41 #B2C041 #72C041
triadic
#B2C041 #41B2C0 #C041B2
tetradic
#B2C041 #41C08E #4F41C0 #C04172
square
#B2C041 #41C08E #4F41C0 #C04172
split-complementary
#B2C041 #4172C0 #8E41C0
monochromatic
#5E6522 #889331 #B2C041 #C5CF6F #D7DE9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C041#FFFFFF#000000##000000
##B2C0411.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)
#CDB72F
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#BDB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c041;
/* rgb */ color: rgb(178, 192, 65);
/* oklch */ color: oklch(77.3% 0.149 115.4);
Tailwind
colors: {
  custom: {
    50: '#ccd27c',
    500: '#b2c041',
    950: '#000000',
  },
}
SCSS
$custom: #b2c041;
$custom-light: #ccd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c041",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 65
  },
  "hsl": {
    "h": 66.614,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77315,
    "c": 0.14924,
    "h": 115.4
  },
  "luminance": 0.47546
}

Semantic roles & 50–950 ramp

primary
#B2C041
secondary
#9892CB
accent
#4EDA5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2C041

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

Preview Lab → · Contrast checker → · Palette generator →

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