#B4C642#B4C642

#B4C642 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 78.8% C 0.155 H 116.8°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#B4C642
RGBrgb(180, 198, 66)
HSLhsl(68, 54%, 52%)
HSVhsv(68, 67%, 78%)
CMYKcmyk(9.1%, 0%, 66.7%, 22.4%)
CIE-LABlab(76.37, -23.43, 61.30)
CIE-LCHlch(76.37, 65.63, 110.92°)
OKLaboklab(78.82% -0.0697 0.1382)
OKLCHoklch(78.82% 0.155 116.8)
XYZxyz(40.0007, 50.4853, 12.7906)
Luminance0.5049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C642 #5442C6
analogous
#C69642 #B4C642 #72C642
triadic
#B4C642 #42B4C6 #C642B4
tetradic
#B4C642 #42C696 #5442C6 #C64272
square
#B4C642 #42C696 #5442C6 #C64272
split-complementary
#B4C642 #4272C6 #9642C6
monochromatic
#626D21 #8D9C2F #B4C642 #C7D471 #D9E2A0

Accessibility & contrast

On white

1.89
#B4C642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#B4C642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C642
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C642#FFFFFF#000000##000000
##B4C6421.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2F
Deuteranopia (green-blind)
#D2BD4C
Tritanopia (blue-blind)
#BFBBAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b4c642;
/* rgb */ color: rgb(180, 198, 66);
/* oklch */ color: oklch(78.8% 0.155 116.8);
Tailwind
colors: {
  custom: {
    50: '#cdd77d',
    500: '#b4c642',
    950: '#000000',
  },
}
SCSS
$custom: #b4c642;
$custom-light: #cdd77d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c642",
  "rgb": {
    "r": 180,
    "g": 198,
    "b": 66
  },
  "hsl": {
    "h": 68.182,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78821,
    "c": 0.15476,
    "h": 116.8
  },
  "luminance": 0.50485
}

Semantic roles & 50–950 ramp

primary
#B4C642
secondary
#3F3676
accent
#4BDD5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B4C642

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

Preview Lab → · Contrast checker → · Palette generator →

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