#B4C242#B4C242

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

Color values

HEX#B4C242
RGBrgb(180, 194, 66)
HSLhsl(67, 51%, 51%)
HSVhsv(67, 66%, 76%)
CMYKcmyk(7.2%, 0%, 66%, 23.9%)
CIE-LABlab(75.25, -21.47, 60.15)
CIE-LCHlch(75.25, 63.87, 109.64°)
OKLaboklab(77.93% -0.0642 0.1358)
OKLCHoklch(77.93% 0.15 115.3)
XYZxyz(39.0985, 48.6808, 12.4899)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C242 #5042C2
analogous
#C29042 #B4C242 #74C242
triadic
#B4C242 #42B4C2 #C242B4
tetradic
#B4C242 #42C290 #5042C2 #C24274
square
#B4C242 #42C290 #5042C2 #C24274
split-complementary
#B4C242 #4274C2 #9042C2
monochromatic
#606822 #8B9631 #B4C242 #C6D170 #D9E09F

Accessibility & contrast

On white

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

On black

10.74
#B4C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C242
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C242#FFFFFF#000000##000000
##B4C2421.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4c242;
/* rgb */ color: rgb(180, 194, 66);
/* oklch */ color: oklch(77.9% 0.150 115.3);
Tailwind
colors: {
  custom: {
    50: '#cdd47d',
    500: '#b4c242',
    950: '#000000',
  },
}
SCSS
$custom: #b4c242;
$custom-light: #cdd47d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c242",
  "rgb": {
    "r": 180,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 66.563,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77927,
    "c": 0.1502,
    "h": 115.3
  },
  "luminance": 0.4868
}

Semantic roles & 50–950 ramp

primary
#B4C242
secondary
#9A94CC
accent
#4DDB5D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B4C242

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

Preview Lab → · Contrast checker → · Palette generator →

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