#B2C451#B2C451

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

Color values

HEX#B2C451
RGBrgb(178, 196, 81)
HSLhsl(69, 49%, 54%)
HSVhsv(69, 59%, 77%)
CMYKcmyk(9.2%, 0%, 58.7%, 23.1%)
CIE-LABlab(75.79, -22.23, 54.36)
CIE-LCHlch(75.79, 58.73, 112.24°)
OKLaboklab(78.36% -0.0647 0.1256)
OKLCHoklch(78.36% 0.141 117.3)
XYZxyz(39.5859, 49.5393, 15.2596)
Luminance0.4954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C451 #6351C4
analogous
#C49C51 #B2C451 #79C451
triadic
#B2C451 #51B2C4 #C451B2
tetradic
#B2C451 #51C49C #6351C4 #C45179
square
#B2C451 #51C49C #6351C4 #C45179
split-complementary
#B2C451 #5179C4 #9C51C4
monochromatic
#687327 #90A137 #B2C451 #C6D37F #DAE3AC

Accessibility & contrast

On white

1.93
#B2C451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C451#FFFFFF#000000##000000
##B2C4511.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c451;
/* rgb */ color: rgb(178, 196, 81);
/* oklch */ color: oklch(78.4% 0.141 117.3);
Tailwind
colors: {
  custom: {
    50: '#cbd586',
    500: '#b2c451',
    950: '#000000',
  },
}
SCSS
$custom: #b2c451;
$custom-light: #cbd586;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c451",
  "rgb": {
    "r": 178,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 69.391,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78358,
    "c": 0.1413,
    "h": 117.3
  },
  "luminance": 0.49539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2C451

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

Preview Lab → · Contrast checker → · Palette generator →

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