#B2C452#B2C452

#B2C452 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.4% C 0.140 H 117.3°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#B2C452
RGBrgb(178, 196, 82)
HSLhsl(69, 49%, 55%)
HSVhsv(69, 58%, 77%)
CMYKcmyk(9.2%, 0%, 58.2%, 23.1%)
CIE-LABlab(75.79, -22.15, 53.93)
CIE-LCHlch(75.79, 58.30, 112.33°)
OKLaboklab(78.37% -0.0644 0.1248)
OKLCHoklch(78.37% 0.14 117.3)
XYZxyz(39.6237, 49.5544, 15.4586)
Luminance0.4955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C452 #6452C4
analogous
#C49D52 #B2C452 #79C452
triadic
#B2C452 #52B2C4 #C452B2
tetradic
#B2C452 #52C49D #6452C4 #C45279
square
#B2C452 #52C49D #6452C4 #C45279
split-complementary
#B2C452 #5279C4 #9D52C4
monochromatic
#687428 #91A237 #B2C452 #C6D480 #DBE3AD

Accessibility & contrast

On white

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

On black

10.91
#B2C452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C452
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C452#FFFFFF#000000##000000
##B2C4521.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA46
Deuteranopia (green-blind)
#CEBC59
Tritanopia (blue-blind)
#BCBAAB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b2c452;
/* rgb */ color: rgb(178, 196, 82);
/* oklch */ color: oklch(78.4% 0.140 117.3);
Tailwind
colors: {
  custom: {
    50: '#cbd587',
    500: '#b2c452',
    950: '#000000',
  },
}
SCSS
$custom: #b2c452;
$custom-light: #cbd587;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c452",
  "rgb": {
    "r": 178,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 69.474,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78369,
    "c": 0.14044,
    "h": 117.3
  },
  "luminance": 0.49554
}

Semantic roles & 50–950 ramp

primary
#B2C452
secondary
#A8A1D1
accent
#4FD965
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#14140B
muted
#82837C

Preview Lab

Preview with #B2C452

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

Preview Lab → · Contrast checker → · Palette generator →

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