#B6CC38#B6CC38

#B6CC38 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.2% C 0.167 H 117.8°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#B6CC38
RGBrgb(182, 204, 56)
HSLhsl(69, 59%, 51%)
HSVhsv(69, 73%, 80%)
CMYKcmyk(10.8%, 0%, 72.5%, 20%)
CIE-LABlab(78.12, -26.07, 66.76)
CIE-LCHlch(78.12, 71.67, 111.33°)
OKLaboklab(80.25% -0.078 0.148)
OKLCHoklch(80.25% 0.167 117.8)
XYZxyz(41.5990, 53.4168, 11.8596)
Luminance0.5342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6CC38 #4E38CC
analogous
#CC9838 #B6CC38 #6CCC38
triadic
#B6CC38 #38B6CC #CC38B6
tetradic
#B6CC38 #38CC98 #4E38CC #CC386C
square
#B6CC38 #38CC98 #4E38CC #CC386C
split-complementary
#B6CC38 #386CCC #9838CC
monochromatic
#616E1C #8D9E29 #B6CC38 #C8D869 #DAE599

Accessibility & contrast

On white

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

On black

11.68
#B6CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6CC38
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6CC38#FFFFFF#000000##000000
##B6CC381.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11B
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#C1C1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b6cc38;
/* rgb */ color: rgb(182, 204, 56);
/* oklch */ color: oklch(80.2% 0.167 117.8);
Tailwind
colors: {
  custom: {
    50: '#cfdb79',
    500: '#b6cc38',
    950: '#000000',
  },
}
SCSS
$custom: #b6cc38;
$custom-light: #cfdb79;
$custom-dark: #000000;
JSON
{
  "hex": "#b6cc38",
  "rgb": {
    "r": 182,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 68.919,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80246,
    "c": 0.16734,
    "h": 117.8
  },
  "luminance": 0.53416
}

Semantic roles & 50–950 ramp

primary
#B6CC38
secondary
#3C3177
accent
#45E25D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B6CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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