#B4C751#B4C751

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

Color values

HEX#B4C751
RGBrgb(180, 199, 81)
HSLhsl(70, 51%, 55%)
HSVhsv(70, 59%, 78%)
CMYKcmyk(9.5%, 0%, 59.3%, 22%)
CIE-LABlab(76.77, -22.89, 55.49)
CIE-LCHlch(76.77, 60.03, 112.42°)
OKLaboklab(79.18% -0.0667 0.128)
OKLCHoklch(79.18% 0.144 117.5)
XYZxyz(40.7317, 51.1446, 15.5091)
Luminance0.5114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C751 #6451C7
analogous
#C79F51 #B4C751 #79C751
triadic
#B4C751 #51B4C7 #C751B4
tetradic
#B4C751 #51C79F #6451C7 #C75179
square
#B4C751 #51C79F #6451C7 #C75179
split-complementary
#B4C751 #5179C7 #9F51C7
monochromatic
#6A7726 #93A635 #B4C751 #C8D67F #DCE5AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C751#FFFFFF#000000##000000
##B4C7511.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)
#D3BD44
Deuteranopia (green-blind)
#D1BE59
Tritanopia (blue-blind)
#BEBDAE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b4c751;
/* rgb */ color: rgb(180, 199, 81);
/* oklch */ color: oklch(79.2% 0.144 117.5);
Tailwind
colors: {
  custom: {
    50: '#cdd886',
    500: '#b4c751',
    950: '#000000',
  },
}
SCSS
$custom: #b4c751;
$custom-light: #cdd886;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c751",
  "rgb": {
    "r": 180,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 69.661,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79181,
    "c": 0.14431,
    "h": 117.5
  },
  "luminance": 0.51144
}

Semantic roles & 50–950 ramp

primary
#B4C751
secondary
#473C80
accent
#4DDB64
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B4C751

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

Preview Lab → · Contrast checker → · Palette generator →

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