#B4C121#B4C121

#B4C121 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.167 H 114.6°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#B4C121
RGBrgb(180, 193, 33)
HSLhsl(65, 71%, 44%)
HSVhsv(65, 83%, 76%)
CMYKcmyk(6.7%, 0%, 82.9%, 24.3%)
CIE-LABlab(74.80, -22.48, 70.46)
CIE-LCHlch(74.80, 73.95, 107.69°)
OKLaboklab(77.5% -0.0698 0.1521)
OKLCHoklch(77.5% 0.167 114.6)
XYZxyz(38.1681, 47.9538, 8.6839)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C121 #2E21C1
analogous
#C17E21 #B4C121 #64C121
triadic
#B4C121 #21B4C1 #C121B4
tetradic
#B4C121 #21C17E #2E21C1 #C12164
square
#B4C121 #21C17E #2E21C1 #C12164
split-complementary
#B4C121 #2164C1 #7E21C1
monochromatic
#53580F #838D18 #B4C121 #D2DE41 #DEE775

Accessibility & contrast

On white

1.98
#B4C121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#B4C121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C121
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C121#FFFFFF#000000##000000
##B4C1211.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CFB932
Tritanopia (blue-blind)
#C0B5A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b4c121;
/* rgb */ color: rgb(180, 193, 33);
/* oklch */ color: oklch(77.5% 0.167 114.6);
Tailwind
colors: {
  custom: {
    50: '#cfd36e',
    500: '#b4c121',
    950: '#000000',
  },
}
SCSS
$custom: #b4c121;
$custom-light: #cfd36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c121",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 33
  },
  "hsl": {
    "h": 64.875,
    "s": 70.796,
    "l": 44.314
  },
  "oklch": {
    "l": 0.77504,
    "c": 0.16728,
    "h": 114.6
  },
  "luminance": 0.47953
}

Semantic roles & 50–950 ramp

primary
#B4C121
secondary
#776FCF
accent
#3AEE49
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4C121

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

Preview Lab → · Contrast checker → · Palette generator →

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