#B6CD42#B6CD42

#B6CD42 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.5% C 0.162 H 118.3°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#B6CD42
RGBrgb(182, 205, 66)
HSLhsl(70, 58%, 53%)
HSVhsv(70, 68%, 80%)
CMYKcmyk(11.2%, 0%, 67.8%, 19.6%)
CIE-LABlab(78.46, -26.01, 63.49)
CIE-LCHlch(78.46, 68.61, 112.27°)
OKLaboklab(80.54% -0.0769 0.1427)
OKLCHoklch(80.54% 0.162 118.3)
XYZxyz(42.1069, 54.0014, 13.3583)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6CD42 #5942CD
analogous
#CD9E42 #B6CD42 #70CD42
triadic
#B6CD42 #42B6CD #CD42B6
tetradic
#B6CD42 #42CD9E #5942CD #CD4270
square
#B6CD42 #42CD9E #5942CD #CD4270
split-complementary
#B6CD42 #4270CD #9E42CD
monochromatic
#67761F #92A62C #B6CD42 #C9DA72 #DBE7A3

Accessibility & contrast

On white

1.78
#B6CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#B6CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6CD42
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6CD42#FFFFFF#000000##000000
##B6CD421.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#C1C2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b6cd42;
/* rgb */ color: rgb(182, 205, 66);
/* oklch */ color: oklch(80.5% 0.162 118.3);
Tailwind
colors: {
  custom: {
    50: '#cfdc7e',
    500: '#b6cd42',
    950: '#000000',
  },
}
SCSS
$custom: #b6cd42;
$custom-light: #cfdc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6cd42",
  "rgb": {
    "r": 182,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 69.928,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80542,
    "c": 0.16216,
    "h": 118.3
  },
  "luminance": 0.54001
}

Semantic roles & 50–950 ramp

primary
#B6CD42
secondary
#41357E
accent
#46E160
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B6CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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