#B4C752#B4C752

#B4C752 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.2% C 0.143 H 117.6°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#B4C752
RGBrgb(180, 199, 82)
HSLhsl(70, 51%, 55%)
HSVhsv(70, 59%, 78%)
CMYKcmyk(9.5%, 0%, 58.8%, 22%)
CIE-LABlab(76.78, -22.81, 55.06)
CIE-LCHlch(76.78, 59.60, 112.50°)
OKLaboklab(79.19% -0.0664 0.1272)
OKLCHoklch(79.19% 0.143 117.6)
XYZxyz(40.7695, 51.1597, 15.7081)
Luminance0.5116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C752 #6552C7
analogous
#C7A052 #B4C752 #79C752
triadic
#B4C752 #52B4C7 #C752B4
tetradic
#B4C752 #52C7A0 #6552C7 #C75279
square
#B4C752 #52C7A0 #6552C7 #C75279
split-complementary
#B4C752 #5279C7 #A052C7
monochromatic
#6B7827 #94A636 #B4C752 #C8D680 #DCE5AE

Accessibility & contrast

On white

1.87
#B4C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#B4C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C752
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C752#FFFFFF#000000##000000
##B4C7521.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#D1BE59
Tritanopia (blue-blind)
#BEBDAE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b4c752;
/* rgb */ color: rgb(180, 199, 82);
/* oklch */ color: oklch(79.2% 0.143 117.6);
Tailwind
colors: {
  custom: {
    50: '#cdd887',
    500: '#b4c752',
    950: '#000000',
  },
}
SCSS
$custom: #b4c752;
$custom-light: #cdd887;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c752",
  "rgb": {
    "r": 180,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 69.744,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79192,
    "c": 0.14346,
    "h": 117.6
  },
  "luminance": 0.51159
}

Semantic roles & 50–950 ramp

primary
#B4C752
secondary
#483D80
accent
#4DDB64
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #B4C752

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

Preview Lab → · Contrast checker → · Palette generator →

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