#B6B828#B6B828

#B6B828 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.7% C 0.155 H 110.4°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#B6B828
RGBrgb(182, 184, 40)
HSLhsl(61, 64%, 44%)
HSVhsv(61, 78%, 72%)
CMYKcmyk(1.1%, 0%, 78.3%, 27.8%)
CIE-LABlab(72.48, -16.91, 66.63)
CIE-LCHlch(72.48, 68.74, 104.24°)
OKLaboklab(75.7% -0.054 0.145)
OKLCHoklch(75.7% 0.155 110.4)
XYZxyz(36.8163, 44.3803, 8.6340)
Luminance0.4438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B828 #2A28B8
analogous
#B87228 #B6B828 #6EB828
triadic
#B6B828 #28B6B8 #B828B6
tetradic
#B6B828 #28B872 #2A28B8 #B8286E
square
#B6B828 #28B872 #2A28B8 #B8286E
split-complementary
#B6B828 #286EB8 #7228B8
monochromatic
#535312 #84861D #B6B828 #D5D746 #E0E279

Accessibility & contrast

On white

2.13
#B6B828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#B6B828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B828
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B828#FFFFFF#000000##000000
##B6B8281.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C8B435
Tritanopia (blue-blind)
#C3AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b6b828;
/* rgb */ color: rgb(182, 184, 40);
/* oklch */ color: oklch(75.7% 0.155 110.4);
Tailwind
colors: {
  custom: {
    50: '#d0cd6f',
    500: '#b6b828',
    950: '#000000',
  },
}
SCSS
$custom: #b6b828;
$custom-light: #d0cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b828",
  "rgb": {
    "r": 182,
    "g": 184,
    "b": 40
  },
  "hsl": {
    "h": 60.833,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.75698,
    "c": 0.15468,
    "h": 110.4
  },
  "luminance": 0.44379
}

Semantic roles & 50–950 ramp

primary
#B6B828
secondary
#7372CA
accent
#41E743
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B828

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

Preview Lab → · Contrast checker → · Palette generator →

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