#B6BD28#B6BD28

#B6BD28 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.8% C 0.160 H 112.4°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#B6BD28
RGBrgb(182, 189, 40)
HSLhsl(63, 65%, 45%)
HSVhsv(63, 79%, 74%)
CMYKcmyk(3.7%, 0%, 78.8%, 25.9%)
CIE-LABlab(73.87, -19.42, 67.86)
CIE-LCHlch(73.87, 70.59, 105.97°)
OKLaboklab(76.81% -0.0609 0.1476)
OKLCHoklch(76.81% 0.16 112.4)
XYZxyz(37.8733, 46.4944, 8.9863)
Luminance0.4649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BD28 #2F28BD
analogous
#BD7A28 #B6BD28 #6BBD28
triadic
#B6BD28 #28B6BD #BD28B6
tetradic
#B6BD28 #28BD7A #2F28BD #BD286B
square
#B6BD28 #28BD7A #2F28BD #BD286B
split-complementary
#B6BD28 #286BBD #7A28BD
monochromatic
#555813 #858A1D #B6BD28 #D2D94A #DEE37C

Accessibility & contrast

On white

2.04
#B6BD28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#B6BD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BD28
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BD28#FFFFFF#000000##000000
##B6BD281.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CCB736
Tritanopia (blue-blind)
#C3B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b6bd28;
/* rgb */ color: rgb(182, 189, 40);
/* oklch */ color: oklch(76.8% 0.160 112.4);
Tailwind
colors: {
  custom: {
    50: '#d0d070',
    500: '#b6bd28',
    950: '#000000',
  },
}
SCSS
$custom: #b6bd28;
$custom-light: #d0d070;
$custom-dark: #000000;
JSON
{
  "hex": "#b6bd28",
  "rgb": {
    "r": 182,
    "g": 189,
    "b": 40
  },
  "hsl": {
    "h": 62.819,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76805,
    "c": 0.15968,
    "h": 112.4
  },
  "luminance": 0.46493
}

Semantic roles & 50–950 ramp

primary
#B6BD28
secondary
#7975CB
accent
#40E848
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B6BD28

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

Preview Lab → · Contrast checker → · Palette generator →

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