#B2C54F#B2C54F

#B2C54F is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.144 H 117.6°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#B2C54F
RGBrgb(178, 197, 79)
HSLhsl(70, 50%, 54%)
HSVhsv(70, 60%, 77%)
CMYKcmyk(9.6%, 0%, 59.9%, 22.7%)
CIE-LABlab(76.05, -22.88, 55.53)
CIE-LCHlch(76.05, 60.06, 112.39°)
OKLaboklab(78.56% -0.0667 0.1279)
OKLCHoklch(78.56% 0.144 117.6)
XYZxyz(39.7383, 49.9624, 14.9459)
Luminance0.4996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C54F #624FC5
analogous
#C59D4F #B2C54F #77C54F
triadic
#B2C54F #4FB2C5 #C54FB2
tetradic
#B2C54F #4FC59D #624FC5 #C54F77
square
#B2C54F #4FC59D #624FC5 #C54F77
split-complementary
#B2C54F #4F77C5 #9D4FC5
monochromatic
#677426 #90A235 #B2C54F #C6D47D #DAE3AB

Accessibility & contrast

On white

1.91
#B2C54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#B2C54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C54F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C54F#FFFFFF#000000##000000
##B2C54F1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB41
Deuteranopia (green-blind)
#CFBC57
Tritanopia (blue-blind)
#BCBBAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b2c54f;
/* rgb */ color: rgb(178, 197, 79);
/* oklch */ color: oklch(78.6% 0.144 117.6);
Tailwind
colors: {
  custom: {
    50: '#cbd685',
    500: '#b2c54f',
    950: '#000000',
  },
}
SCSS
$custom: #b2c54f;
$custom-light: #cbd685;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c54f",
  "rgb": {
    "r": 178,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 69.661,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78561,
    "c": 0.14421,
    "h": 117.6
  },
  "luminance": 0.49962
}

Semantic roles & 50–950 ramp

primary
#B2C54F
secondary
#A79FD1
accent
#4EDA64
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#14140B
muted
#82837C

Preview Lab

Preview with #B2C54F

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

Preview Lab → · Contrast checker → · Palette generator →

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