#B6C728#B6C728

#B6C728 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.0% C 0.170 H 116.0°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#B6C728
RGBrgb(182, 199, 40)
HSLhsl(66, 67%, 47%)
HSVhsv(66, 80%, 78%)
CMYKcmyk(8.5%, 0%, 79.9%, 22%)
CIE-LABlab(76.65, -24.33, 70.32)
CIE-LCHlch(76.65, 74.42, 109.09°)
OKLaboklab(79.04% -0.0745 0.1529)
OKLCHoklch(79.04% 0.17 116)
XYZxyz(40.0990, 50.9458, 9.7282)
Luminance0.5094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C728 #3928C7
analogous
#C78928 #B6C728 #67C728
triadic
#B6C728 #28B6C7 #C728B6
tetradic
#B6C728 #28C789 #3928C7 #C72867
square
#B6C728 #28C789 #3928C7 #C72867
split-complementary
#B6C728 #2867C7 #8928C7
monochromatic
#596114 #87941E #B6C728 #CDDC50 #DCE683

Accessibility & contrast

On white

1.88
#B6C728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#B6C728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C728
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C728#FFFFFF#000000##000000
##B6C7281.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D4BE38
Tritanopia (blue-blind)
#C2BBAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b6c728;
/* rgb */ color: rgb(182, 199, 40);
/* oklch */ color: oklch(79.0% 0.170 116.0);
Tailwind
colors: {
  custom: {
    50: '#d0d771',
    500: '#b6c728',
    950: '#000000',
  },
}
SCSS
$custom: #b6c728;
$custom-light: #d0d771;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c728",
  "rgb": {
    "r": 182,
    "g": 199,
    "b": 40
  },
  "hsl": {
    "h": 66.415,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.79036,
    "c": 0.17006,
    "h": 116
  },
  "luminance": 0.50945
}

Semantic roles & 50–950 ramp

primary
#B6C728
secondary
#2F276C
accent
#3EE951
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B6C728

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

Preview Lab → · Contrast checker → · Palette generator →

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