#B4CD42#B4CD42

#B4CD42 is a light, vivid yellow-green. Relative luminance 0.538; OKLCH L 80.4% C 0.163 H 119.0°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#B4CD42
RGBrgb(180, 205, 66)
HSLhsl(71, 58%, 53%)
HSVhsv(71, 68%, 80%)
CMYKcmyk(12.2%, 0%, 67.8%, 19.6%)
CIE-LABlab(78.32, -26.82, 63.30)
CIE-LCHlch(78.32, 68.75, 112.96°)
OKLaboklab(80.39% -0.0791 0.1424)
OKLCHoklch(80.39% 0.163 119)
XYZxyz(41.6379, 53.7596, 13.3363)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CD42 #5B42CD
analogous
#CDA042 #B4CD42 #6FCD42
triadic
#B4CD42 #42B4CD #CD42B4
tetradic
#B4CD42 #42CDA0 #5B42CD #CD426F
square
#B4CD42 #42CDA0 #5B42CD #CD426F
split-complementary
#B4CD42 #426FCD #A042CD
monochromatic
#66761F #90A62C #B4CD42 #C7DA72 #DAE7A3

Accessibility & contrast

On white

1.79
#B4CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#B4CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CD42
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CD42#FFFFFF#000000##000000
##B4CD421.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#BEC2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b4cd42;
/* rgb */ color: rgb(180, 205, 66);
/* oklch */ color: oklch(80.4% 0.163 119.0);
Tailwind
colors: {
  custom: {
    50: '#cedc7e',
    500: '#b4cd42',
    950: '#000000',
  },
}
SCSS
$custom: #b4cd42;
$custom-light: #cedc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cd42",
  "rgb": {
    "r": 180,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 70.791,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80392,
    "c": 0.16288,
    "h": 119
  },
  "luminance": 0.53759
}

Semantic roles & 50–950 ramp

primary
#B4CD42
secondary
#42357E
accent
#46E162
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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