#B4C241#B4C241

#B4C241 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 77.9% C 0.151 H 115.3°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#B4C241
RGBrgb(180, 194, 65)
HSLhsl(67, 51%, 51%)
HSVhsv(67, 66%, 76%)
CMYKcmyk(7.2%, 0%, 66.5%, 23.9%)
CIE-LABlab(75.25, -21.53, 60.54)
CIE-LCHlch(75.25, 64.26, 109.58°)
OKLaboklab(77.92% -0.0645 0.1364)
OKLCHoklch(77.92% 0.151 115.3)
XYZxyz(39.0693, 48.6691, 12.3360)
Luminance0.4867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C241 #4F41C2
analogous
#C28F41 #B4C241 #73C241
triadic
#B4C241 #41B4C2 #C241B4
tetradic
#B4C241 #41C28F #4F41C2 #C24173
square
#B4C241 #41C28F #4F41C2 #C24173
split-complementary
#B4C241 #4173C2 #8F41C2
monochromatic
#606721 #8B9630 #B4C241 #C6D16F #D9E09E

Accessibility & contrast

On white

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

On black

10.73
#B4C241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C241
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C241#FFFFFF#000000##000000
##B4C2411.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82F
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#BFB7A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c241;
/* rgb */ color: rgb(180, 194, 65);
/* oklch */ color: oklch(77.9% 0.151 115.3);
Tailwind
colors: {
  custom: {
    50: '#cdd47d',
    500: '#b4c241',
    950: '#000000',
  },
}
SCSS
$custom: #b4c241;
$custom-light: #cdd47d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c241",
  "rgb": {
    "r": 180,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 66.512,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77919,
    "c": 0.15091,
    "h": 115.3
  },
  "luminance": 0.48669
}

Semantic roles & 50–950 ramp

primary
#B4C241
secondary
#9993CC
accent
#4DDB5C
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B4C241

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

Preview Lab → · Contrast checker → · Palette generator →

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