#B2C741#B2C741

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

Color values

HEX#B2C741
RGBrgb(178, 199, 65)
HSLhsl(69, 54%, 52%)
HSVhsv(69, 67%, 78%)
CMYKcmyk(10.6%, 0%, 67.3%, 22%)
CIE-LABlab(76.49, -24.80, 61.77)
CIE-LCHlch(76.49, 66.57, 111.87°)
OKLaboklab(78.88% -0.0735 0.1391)
OKLCHoklch(78.88% 0.157 117.8)
XYZxyz(39.7385, 50.6939, 12.6915)
Luminance0.5069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C741 #5641C7
analogous
#C79941 #B2C741 #6FC741
triadic
#B2C741 #41B2C7 #C741B2
tetradic
#B2C741 #41C799 #5641C7 #C7416F
square
#B2C741 #41C799 #5641C7 #C7416F
split-complementary
#B2C741 #416FC7 #9941C7
monochromatic
#616D20 #8B9D2E #B2C741 #C5D570 #D8E3A0

Accessibility & contrast

On white

1.89
#B2C741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C741#FFFFFF#000000##000000
##B2C7411.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c741;
/* rgb */ color: rgb(178, 199, 65);
/* oklch */ color: oklch(78.9% 0.157 117.8);
Tailwind
colors: {
  custom: {
    50: '#ccd87d',
    500: '#b2c741',
    950: '#000000',
  },
}
SCSS
$custom: #b2c741;
$custom-light: #ccd87d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c741",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 65
  },
  "hsl": {
    "h": 69.403,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78884,
    "c": 0.15729,
    "h": 117.8
  },
  "luminance": 0.50693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2C741

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

Preview Lab → · Contrast checker → · Palette generator →

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