#B2C52F#B2C52F

#B2C52F is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.3% C 0.166 H 116.8°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#B2C52F
RGBrgb(178, 197, 47)
HSLhsl(68, 61%, 48%)
HSVhsv(68, 76%, 77%)
CMYKcmyk(9.6%, 0%, 76.1%, 22.7%)
CIE-LABlab(75.83, -24.76, 67.44)
CIE-LCHlch(75.83, 71.84, 110.16°)
OKLaboklab(78.31% -0.0749 0.1481)
OKLCHoklch(78.31% 0.166 116.8)
XYZxyz(38.8404, 49.6032, 10.2171)
Luminance0.4960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C52F #422FC5
analogous
#C58D2F #B2C52F #67C52F
triadic
#B2C52F #2FB2C5 #C52FB2
tetradic
#B2C52F #2FC58D #422FC5 #C52F67
square
#B2C52F #2FC58D #422FC5 #C52F67
split-complementary
#B2C52F #2F67C5 #8D2FC5
monochromatic
#596217 #859423 #B2C52F #C8D85A #D8E38B

Accessibility & contrast

On white

1.92
#B2C52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#B2C52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C52F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C52F#FFFFFF#000000##000000
##B2C52F1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA04
Deuteranopia (green-blind)
#D1BC3D
Tritanopia (blue-blind)
#BDBAA9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b2c52f;
/* rgb */ color: rgb(178, 197, 47);
/* oklch */ color: oklch(78.3% 0.166 116.8);
Tailwind
colors: {
  custom: {
    50: '#cdd674',
    500: '#b2c52f',
    950: '#000000',
  },
}
SCSS
$custom: #b2c52f;
$custom-light: #cdd674;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c52f",
  "rgb": {
    "r": 178,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 67.6,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78313,
    "c": 0.16595,
    "h": 116.8
  },
  "luminance": 0.49603
}

Semantic roles & 50–950 ramp

primary
#B2C52F
secondary
#8C82CD
accent
#43E558
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B2C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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