#B4CD32#B4CD32

#B4CD32 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.3% C 0.172 H 118.7°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#B4CD32
RGBrgb(180, 205, 50)
HSLhsl(70, 61%, 50%)
HSVhsv(70, 76%, 80%)
CMYKcmyk(12.2%, 0%, 75.6%, 19.6%)
CIE-LABlab(78.23, -27.65, 68.78)
CIE-LCHlch(78.23, 74.13, 111.90°)
OKLaboklab(80.29% -0.0828 0.1513)
OKLCHoklch(80.29% 0.173 118.7)
XYZxyz(41.2304, 53.5966, 11.1901)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CD32 #4B32CD
analogous
#CD9832 #B4CD32 #67CD32
triadic
#B4CD32 #32B4CD #CD32B4
tetradic
#B4CD32 #32CD98 #4B32CD #CD3267
square
#B4CD32 #32CD98 #4B32CD #CD3267
split-complementary
#B4CD32 #3267CD #9832CD
monochromatic
#5E6B1A #899C26 #B4CD32 #C6D963 #D8E594

Accessibility & contrast

On white

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

On black

11.72
#B4CD32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CD32
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CD32#FFFFFF#000000##000000
##B4CD321.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC108
Deuteranopia (green-blind)
#D8C240
Tritanopia (blue-blind)
#BFC2B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b4cd32;
/* rgb */ color: rgb(180, 205, 50);
/* oklch */ color: oklch(80.3% 0.172 118.7);
Tailwind
colors: {
  custom: {
    50: '#cedc76',
    500: '#b4cd32',
    950: '#000000',
  },
}
SCSS
$custom: #b4cd32;
$custom-light: #cedc76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cd32",
  "rgb": {
    "r": 180,
    "g": 205,
    "b": 50
  },
  "hsl": {
    "h": 69.677,
    "s": 60.784,
    "l": 50
  },
  "oklch": {
    "l": 0.80285,
    "c": 0.1725,
    "h": 118.7
  },
  "luminance": 0.53596
}

Semantic roles & 50–950 ramp

primary
#B4CD32
secondary
#3A2F74
accent
#44E45E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B4CD32

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

Preview Lab → · Contrast checker → · Palette generator →

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