#B4C652#B4C652

#B4C652 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.0% C 0.142 H 117.2°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#B4C652
RGBrgb(180, 198, 82)
HSLhsl(69, 50%, 55%)
HSVhsv(69, 59%, 78%)
CMYKcmyk(9.1%, 0%, 58.6%, 22.4%)
CIE-LABlab(76.50, -22.32, 54.76)
CIE-LCHlch(76.50, 59.13, 112.18°)
OKLaboklab(78.97% -0.065 0.1265)
OKLCHoklch(78.97% 0.142 117.2)
XYZxyz(40.5402, 50.7011, 15.6316)
Luminance0.5070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C652 #6452C6
analogous
#C69E52 #B4C652 #7AC652
triadic
#B4C652 #52B4C6 #C652B4
tetradic
#B4C652 #52C69E #6452C6 #C6527A
square
#B4C652 #52C69E #6452C6 #C6527A
split-complementary
#B4C652 #527AC6 #9E52C6
monochromatic
#6A7727 #93A536 #B4C652 #C8D580 #DCE4AE

Accessibility & contrast

On white

1.89
#B4C652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#B4C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C652
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C652#FFFFFF#000000##000000
##B4C6521.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC45
Deuteranopia (green-blind)
#D1BD59
Tritanopia (blue-blind)
#BEBCAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b4c652;
/* rgb */ color: rgb(180, 198, 82);
/* oklch */ color: oklch(79.0% 0.142 117.2);
Tailwind
colors: {
  custom: {
    50: '#cdd787',
    500: '#b4c652',
    950: '#000000',
  },
}
SCSS
$custom: #b4c652;
$custom-light: #cdd787;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c652",
  "rgb": {
    "r": 180,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 69.31,
    "s": 50.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78969,
    "c": 0.14224,
    "h": 117.2
  },
  "luminance": 0.50701
}

Semantic roles & 50–950 ramp

primary
#B4C652
secondary
#473D7F
accent
#4EDA64
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #B4C652

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

Preview Lab → · Contrast checker → · Palette generator →

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