#B2C251#B2C251

#B2C251 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.9% C 0.139 H 116.5°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#B2C251
RGBrgb(178, 194, 81)
HSLhsl(68, 48%, 54%)
HSVhsv(68, 58%, 76%)
CMYKcmyk(8.2%, 0%, 58.2%, 23.9%)
CIE-LABlab(75.23, -21.24, 53.74)
CIE-LCHlch(75.23, 57.79, 111.57°)
OKLaboklab(77.91% -0.0619 0.1243)
OKLCHoklch(77.91% 0.139 116.5)
XYZxyz(39.1378, 48.6431, 15.1103)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C251 #6151C2
analogous
#C29A51 #B2C251 #7AC251
triadic
#B2C251 #51B2C2 #C251B2
tetradic
#B2C251 #51C29A #6151C2 #C2517A
square
#B2C251 #51C29A #6151C2 #C2517A
split-complementary
#B2C251 #517AC2 #9A51C2
monochromatic
#677128 #909E37 #B2C251 #C6D27E #DAE2AC

Accessibility & contrast

On white

1.96
#B2C251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#B2C251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C251
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C251#FFFFFF#000000##000000
##B2C2511.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB945
Deuteranopia (green-blind)
#CDBA58
Tritanopia (blue-blind)
#BCB8AA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c251;
/* rgb */ color: rgb(178, 194, 81);
/* oklch */ color: oklch(77.9% 0.139 116.5);
Tailwind
colors: {
  custom: {
    50: '#cbd486',
    500: '#b2c251',
    950: '#000000',
  },
}
SCSS
$custom: #b2c251;
$custom-light: #cbd486;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c251",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 68.496,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77912,
    "c": 0.13887,
    "h": 116.5
  },
  "luminance": 0.48643
}

Semantic roles & 50–950 ramp

primary
#B2C251
secondary
#A69FD0
accent
#50D863
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2C251

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

Preview Lab → · Contrast checker → · Palette generator →

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