#B4CC31#B4CC31

#B4CC31 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.1% C 0.172 H 118.4°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#B4CC31
RGBrgb(180, 204, 49)
HSLhsl(69, 61%, 50%)
HSVhsv(69, 76%, 80%)
CMYKcmyk(11.8%, 0%, 76%, 20%)
CIE-LABlab(77.94, -27.22, 68.82)
CIE-LCHlch(77.94, 74.01, 111.58°)
OKLaboklab(80.05% -0.0817 0.1513)
OKLCHoklch(80.05% 0.172 118.4)
XYZxyz(40.9706, 53.1111, 10.9983)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CC31 #4931CC
analogous
#CC9631 #B4CC31 #67CC31
triadic
#B4CC31 #31B4CC #CC31B4
tetradic
#B4CC31 #31CC96 #4931CC #CC3167
square
#B4CC31 #31CC96 #4931CC #CC3167
split-complementary
#B4CC31 #3167CC #9631CC
monochromatic
#5D6919 #889B25 #B4CC31 #C7D961 #D8E592

Accessibility & contrast

On white

1.81
#B4CC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#B4CC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CC31
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CC31#FFFFFF#000000##000000
##B4CC311.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC005
Deuteranopia (green-blind)
#D7C13F
Tritanopia (blue-blind)
#BFC1AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b4cc31;
/* rgb */ color: rgb(180, 204, 49);
/* oklch */ color: oklch(80.1% 0.172 118.4);
Tailwind
colors: {
  custom: {
    50: '#cedb76',
    500: '#b4cc31',
    950: '#000000',
  },
}
SCSS
$custom: #b4cc31;
$custom-light: #cedb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cc31",
  "rgb": {
    "r": 180,
    "g": 204,
    "b": 49
  },
  "hsl": {
    "h": 69.29,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.80054,
    "c": 0.1719,
    "h": 118.4
  },
  "luminance": 0.53111
}

Semantic roles & 50–950 ramp

primary
#B4CC31
secondary
#392E73
accent
#43E45C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B4CC31

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

Preview Lab → · Contrast checker → · Palette generator →

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