#B3CC31#B3CC31

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

Color values

HEX#B3CC31
RGBrgb(179, 204, 49)
HSLhsl(70, 61%, 50%)
HSVhsv(70, 76%, 80%)
CMYKcmyk(12.3%, 0%, 76%, 20%)
CIE-LABlab(77.87, -27.63, 68.73)
CIE-LCHlch(77.87, 74.08, 111.90°)
OKLaboklab(79.98% -0.0827 0.1511)
OKLCHoklch(79.98% 0.172 118.7)
XYZxyz(40.7386, 52.9915, 10.9874)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3CC31 #4A31CC
analogous
#CC9731 #B3CC31 #66CC31
triadic
#B3CC31 #31B3CC #CC31B3
tetradic
#B3CC31 #31CC97 #4A31CC #CC3166
square
#B3CC31 #31CC97 #4A31CC #CC3166
split-complementary
#B3CC31 #3166CC #9731CC
monochromatic
#5C6919 #889B25 #B3CC31 #C6D961 #D8E592

Accessibility & contrast

On white

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

On black

11.60
#B3CC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3CC31
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3CC31#FFFFFF#000000##000000
##B3CC311.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3cc31;
/* rgb */ color: rgb(179, 204, 49);
/* oklch */ color: oklch(80.0% 0.172 118.7);
Tailwind
colors: {
  custom: {
    50: '#cedb76',
    500: '#b3cc31',
    950: '#000000',
  },
}
SCSS
$custom: #b3cc31;
$custom-light: #cedb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b3cc31",
  "rgb": {
    "r": 179,
    "g": 204,
    "b": 49
  },
  "hsl": {
    "h": 69.677,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79979,
    "c": 0.17227,
    "h": 118.7
  },
  "luminance": 0.52991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3CC31

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

Preview Lab → · Contrast checker → · Palette generator →

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