#B6CC2D#B6CC2D

#B6CC2D is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.2% C 0.173 H 117.6°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#B6CC2D
RGBrgb(182, 204, 45)
HSLhsl(68, 64%, 49%)
HSVhsv(68, 78%, 80%)
CMYKcmyk(10.8%, 0%, 77.9%, 20%)
CIE-LABlab(78.06, -26.56, 70.19)
CIE-LCHlch(78.06, 75.04, 110.73°)
OKLaboklab(80.18% -0.0803 0.1534)
OKLCHoklch(80.18% 0.173 117.6)
XYZxyz(41.3590, 53.3207, 10.5953)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6CC2D #432DCC
analogous
#CC932D #B6CC2D #67CC2D
triadic
#B6CC2D #2DB6CC #CC2DB6
tetradic
#B6CC2D #2DCC93 #432DCC #CC2D67
square
#B6CC2D #2DCC93 #432DCC #CC2D67
split-complementary
#B6CC2D #2D67CC #932DCC
monochromatic
#5D6817 #899A22 #B6CC2D #C9DB5B #DAE68D

Accessibility & contrast

On white

1.80
#B6CC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#B6CC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6CC2D
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6CC2D#FFFFFF#000000##000000
##B6CC2D1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#C1C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b6cc2d;
/* rgb */ color: rgb(182, 204, 45);
/* oklch */ color: oklch(80.2% 0.173 117.6);
Tailwind
colors: {
  custom: {
    50: '#d0db74',
    500: '#b6cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #b6cc2d;
$custom-light: #d0db74;
$custom-dark: #000000;
JSON
{
  "hex": "#b6cc2d",
  "rgb": {
    "r": 182,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 68.302,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80183,
    "c": 0.17315,
    "h": 117.6
  },
  "luminance": 0.5332
}

Semantic roles & 50–950 ramp

primary
#B6CC2D
secondary
#352B72
accent
#41E758
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B6CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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