#B2C052#B2C052

#B2C052 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.5% C 0.136 H 115.7°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#B2C052
RGBrgb(178, 192, 82)
HSLhsl(68, 47%, 54%)
HSVhsv(68, 57%, 75%)
CMYKcmyk(7.3%, 0%, 57.3%, 24.7%)
CIE-LABlab(74.68, -20.17, 52.68)
CIE-LCHlch(74.68, 56.42, 110.95°)
OKLaboklab(77.48% -0.0588 0.1222)
OKLCHoklch(77.48% 0.136 115.7)
XYZxyz(38.7334, 47.7740, 15.1618)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C052 #6052C0
analogous
#C09752 #B2C052 #7BC052
triadic
#B2C052 #52B2C0 #C052B2
tetradic
#B2C052 #52C097 #6052C0 #C0527B
square
#B2C052 #52C097 #6052C0 #C0527B
split-complementary
#B2C052 #527BC0 #9752C0
monochromatic
#666F28 #8F9C39 #B2C052 #C6D07F #DAE1AC

Accessibility & contrast

On white

1.99
#B2C052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#B2C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C052
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C052#FFFFFF#000000##000000
##B2C0521.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#CBB959
Tritanopia (blue-blind)
#BCB6A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c052;
/* rgb */ color: rgb(178, 192, 82);
/* oklch */ color: oklch(77.5% 0.136 115.7);
Tailwind
colors: {
  custom: {
    50: '#cbd386',
    500: '#b2c052',
    950: '#000000',
  },
}
SCSS
$custom: #b2c052;
$custom-light: #cbd386;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c052",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 67.636,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77477,
    "c": 0.13558,
    "h": 115.7
  },
  "luminance": 0.47773
}

Semantic roles & 50–950 ramp

primary
#B2C052
secondary
#A59FCE
accent
#52D662
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2C052

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

Preview Lab → · Contrast checker → · Palette generator →

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