#B4C42E#B4C42E

#B4C42E is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.2% C 0.165 H 115.8°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#B4C42E
RGBrgb(180, 196, 46)
HSLhsl(66, 62%, 47%)
HSVhsv(66, 77%, 77%)
CMYKcmyk(8.2%, 0%, 76.5%, 23.1%)
CIE-LABlab(75.69, -23.48, 67.67)
CIE-LCHlch(75.69, 71.63, 109.14°)
OKLaboklab(78.24% -0.0716 0.1483)
OKLCHoklch(78.24% 0.165 115.8)
XYZxyz(39.0565, 49.3810, 10.0583)
Luminance0.4938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C42E #3E2EC4
analogous
#C4892E #B4C42E #69C42E
triadic
#B4C42E #2EB4C4 #C42EB4
tetradic
#B4C42E #2EC489 #3E2EC4 #C42E69
square
#B4C42E #2EC489 #3E2EC4 #C42E69
split-complementary
#B4C42E #2E69C4 #892EC4
monochromatic
#596117 #869222 #B4C42E #CAD858 #DAE389

Accessibility & contrast

On white

1.93
#B4C42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#B4C42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C42E
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C42E#FFFFFF#000000##000000
##B4C42E1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA01
Deuteranopia (green-blind)
#D1BC3C
Tritanopia (blue-blind)
#C0B8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b4c42e;
/* rgb */ color: rgb(180, 196, 46);
/* oklch */ color: oklch(78.2% 0.165 115.8);
Tailwind
colors: {
  custom: {
    50: '#ced573',
    500: '#b4c42e',
    950: '#000000',
  },
}
SCSS
$custom: #b4c42e;
$custom-light: #ced573;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c42e",
  "rgb": {
    "r": 180,
    "g": 196,
    "b": 46
  },
  "hsl": {
    "h": 66.4,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.78238,
    "c": 0.16469,
    "h": 115.8
  },
  "luminance": 0.4938
}

Semantic roles & 50–950 ramp

primary
#B4C42E
secondary
#8981CD
accent
#43E554
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B4C42E

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

Preview Lab → · Contrast checker → · Palette generator →

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