#B6CD40#B6CD40

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

Color values

HEX#B6CD40
RGBrgb(182, 205, 64)
HSLhsl(70, 59%, 53%)
HSVhsv(70, 69%, 80%)
CMYKcmyk(11.2%, 0%, 68.8%, 19.6%)
CIE-LABlab(78.45, -26.12, 64.23)
CIE-LCHlch(78.45, 69.34, 112.13°)
OKLaboklab(80.53% -0.0775 0.144)
OKLCHoklch(80.53% 0.164 118.3)
XYZxyz(42.0490, 53.9783, 13.0532)
Luminance0.5398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6CD40 #5740CD
analogous
#CD9D40 #B6CD40 #70CD40
triadic
#B6CD40 #40B6CD #CD40B6
tetradic
#B6CD40 #40CD9D #5740CD #CD4070
square
#B6CD40 #40CD9D #5740CD #CD4070
split-complementary
#B6CD40 #4070CD #9D40CD
monochromatic
#66741E #91A52B #B6CD40 #C9DA71 #DBE6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6CD40#FFFFFF#000000##000000
##B6CD401.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)
#DAC22A
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#C1C2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b6cd40;
/* rgb */ color: rgb(182, 205, 64);
/* oklch */ color: oklch(80.5% 0.164 118.3);
Tailwind
colors: {
  custom: {
    50: '#cfdc7d',
    500: '#b6cd40',
    950: '#000000',
  },
}
SCSS
$custom: #b6cd40;
$custom-light: #cfdc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6cd40",
  "rgb": {
    "r": 182,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 69.787,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80526,
    "c": 0.1635,
    "h": 118.3
  },
  "luminance": 0.53978
}

Semantic roles & 50–950 ramp

primary
#B6CD40
secondary
#40347D
accent
#46E25F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B6CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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