#B4C151#B4C151

#B4C151 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.8% C 0.137 H 115.2°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#B4C151
RGBrgb(180, 193, 81)
HSLhsl(67, 47%, 54%)
HSVhsv(67, 58%, 76%)
CMYKcmyk(6.7%, 0%, 58%, 24.3%)
CIE-LABlab(75.10, -19.93, 53.64)
CIE-LCHlch(75.10, 57.23, 110.38°)
OKLaboklab(77.85% -0.0584 0.124)
OKLCHoklch(77.85% 0.137 115.2)
XYZxyz(39.3783, 48.4379, 15.0580)
Luminance0.4844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C151 #5E51C1
analogous
#C19651 #B4C151 #7CC151
triadic
#B4C151 #51B4C1 #C151B4
tetradic
#B4C151 #51C196 #5E51C1 #C1517C
square
#B4C151 #51C196 #5E51C1 #C1517C
split-complementary
#B4C151 #517CC1 #9651C1
monochromatic
#677028 #919D38 #B4C151 #C7D17E #DBE1AB

Accessibility & contrast

On white

1.96
#B4C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#B4C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C151
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C151#FFFFFF#000000##000000
##B4C1511.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB845
Deuteranopia (green-blind)
#CDBA58
Tritanopia (blue-blind)
#BEB7A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c151;
/* rgb */ color: rgb(180, 193, 81);
/* oklch */ color: oklch(77.8% 0.137 115.2);
Tailwind
colors: {
  custom: {
    50: '#cdd386',
    500: '#b4c151',
    950: '#000000',
  },
}
SCSS
$custom: #b4c151;
$custom-light: #cdd386;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c151",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 66.964,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77846,
    "c": 0.13708,
    "h": 115.2
  },
  "luminance": 0.48437
}

Semantic roles & 50–950 ramp

primary
#B4C151
secondary
#A59FCF
accent
#51D760
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B4C151

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

Preview Lab → · Contrast checker → · Palette generator →

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