#B6C940#B6C940

#B6C940 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.6% C 0.159 H 117.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#B6C940
RGBrgb(182, 201, 64)
HSLhsl(68, 56%, 52%)
HSVhsv(68, 68%, 79%)
CMYKcmyk(9.5%, 0%, 68.2%, 21.2%)
CIE-LABlab(77.33, -24.19, 63.10)
CIE-LCHlch(77.33, 67.58, 110.97°)
OKLaboklab(79.63% -0.0721 0.1416)
OKLCHoklch(79.63% 0.159 117)
XYZxyz(41.1044, 52.0890, 12.7383)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C940 #5340C9
analogous
#C99740 #B6C940 #72C940
triadic
#B6C940 #40B6C9 #C940B6
tetradic
#B6C940 #40C997 #5340C9 #C94072
square
#B6C940 #40C997 #5340C9 #C94072
split-complementary
#B6C940 #4072C9 #9740C9
monochromatic
#646F1F #8F9F2D #B6C940 #C8D670 #DAE49F

Accessibility & contrast

On white

1.84
#B6C940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#B6C940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C940
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C940#FFFFFF#000000##000000
##B6C9401.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D5C04A
Tritanopia (blue-blind)
#C1BEAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b6c940;
/* rgb */ color: rgb(182, 201, 64);
/* oklch */ color: oklch(79.6% 0.159 117.0);
Tailwind
colors: {
  custom: {
    50: '#cfd97d',
    500: '#b6c940',
    950: '#000000',
  },
}
SCSS
$custom: #b6c940;
$custom-light: #cfd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c940",
  "rgb": {
    "r": 182,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 68.321,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7963,
    "c": 0.15892,
    "h": 117
  },
  "luminance": 0.52089
}

Semantic roles & 50–950 ramp

primary
#B6C940
secondary
#3E3578
accent
#49DF5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B6C940

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

Preview Lab → · Contrast checker → · Palette generator →

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