#B3CC2D#B3CC2D

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

Color values

HEX#B3CC2D
RGBrgb(179, 204, 45)
HSLhsl(69, 64%, 49%)
HSVhsv(69, 78%, 80%)
CMYKcmyk(12.3%, 0%, 77.9%, 20%)
CIE-LABlab(77.85, -27.79, 69.92)
CIE-LCHlch(77.85, 75.24, 111.68°)
OKLaboklab(79.96% -0.0835 0.153)
OKLCHoklch(79.96% 0.174 118.6)
XYZxyz(40.6579, 52.9592, 10.5624)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3CC2D #462DCC
analogous
#CC962D #B3CC2D #64CC2D
triadic
#B3CC2D #2DB3CC #CC2DB3
tetradic
#B3CC2D #2DCC96 #462DCC #CC2D64
square
#B3CC2D #2DCC96 #462DCC #CC2D64
split-complementary
#B3CC2D #2D64CC #962DCC
monochromatic
#5B6817 #879A22 #B3CC2D #C7DB5B #D8E68D

Accessibility & contrast

On white

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

On black

11.59
#B3CC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3CC2D
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3CC2D#FFFFFF#000000##000000
##B3CC2D1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3cc2d;
/* rgb */ color: rgb(179, 204, 45);
/* oklch */ color: oklch(80.0% 0.174 118.6);
Tailwind
colors: {
  custom: {
    50: '#cedb74',
    500: '#b3cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #b3cc2d;
$custom-light: #cedb74;
$custom-dark: #000000;
JSON
{
  "hex": "#b3cc2d",
  "rgb": {
    "r": 179,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 69.434,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79958,
    "c": 0.17426,
    "h": 118.6
  },
  "luminance": 0.52959
}

Semantic roles & 50–950 ramp

primary
#B3CC2D
secondary
#372B72
accent
#41E75B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B3CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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