#B6B827#B6B827

#B6B827 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.87:1 contrast (WCAG AA passes).

Color values

HEX#B6B827
RGBrgb(182, 184, 39)
HSLhsl(61, 65%, 44%)
HSVhsv(61, 79%, 72%)
CMYKcmyk(1.1%, 0%, 78.8%, 27.8%)
CIE-LABlab(72.48, -16.95, 66.92)
CIE-LCHlch(72.48, 69.03, 104.21°)
OKLaboklab(75.69% -0.0541 0.1454)
OKLCHoklch(75.69% 0.155 110.4)
XYZxyz(36.7995, 44.3736, 8.5456)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B827 #2927B8
analogous
#B87127 #B6B827 #6DB827
triadic
#B6B827 #27B6B8 #B827B6
tetradic
#B6B827 #27B871 #2927B8 #B8276D
square
#B6B827 #27B871 #2927B8 #B8276D
split-complementary
#B6B827 #276DB8 #7127B8
monochromatic
#525312 #84861C #B6B827 #D5D845 #E1E277

Accessibility & contrast

On white

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

On black

9.87
#B6B827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B827
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B827#FFFFFF#000000##000000
##B6B8271.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6b827;
/* rgb */ color: rgb(182, 184, 39);
/* oklch */ color: oklch(75.7% 0.155 110.4);
Tailwind
colors: {
  custom: {
    50: '#d0cd6f',
    500: '#b6b827',
    950: '#000000',
  },
}
SCSS
$custom: #b6b827;
$custom-light: #d0cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b827",
  "rgb": {
    "r": 182,
    "g": 184,
    "b": 39
  },
  "hsl": {
    "h": 60.828,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75693,
    "c": 0.15515,
    "h": 110.4
  },
  "luminance": 0.44373
}

Semantic roles & 50–950 ramp

primary
#B6B827
secondary
#7271CA
accent
#40E842
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B827

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

Preview Lab → · Contrast checker → · Palette generator →

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