#B6B538#B6B538

#B6B538 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.1% C 0.143 H 108.9°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#B6B538
RGBrgb(182, 181, 56)
HSLhsl(60, 53%, 47%)
HSVhsv(60, 69%, 71%)
CMYKcmyk(0%, 0.5%, 69.2%, 28.6%)
CIE-LABlab(71.74, -14.68, 60.54)
CIE-LCHlch(71.74, 62.29, 103.63°)
OKLaboklab(75.14% -0.0463 0.1349)
OKLCHoklch(75.14% 0.143 108.9)
XYZxyz(36.5304, 43.2795, 10.1701)
Luminance0.4328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B538 #3839B6
analogous
#B67638 #B6B538 #78B638
triadic
#B6B538 #38B6B5 #B538B6
tetradic
#B6B538 #38B676 #3839B6 #B63878
square
#B6B538 #38B676 #3839B6 #B63878
split-complementary
#B6B538 #3878B6 #7638B6
monochromatic
#58581B #87862A #B6B538 #CDCD5E #DCDB8D

Accessibility & contrast

On white

2.17
#B6B538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#B6B538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B538
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B538#FFFFFF#000000##000000
##B6B5381.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE24
Deuteranopia (green-blind)
#C5B241
Tritanopia (blue-blind)
#C3A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b6b538;
/* rgb */ color: rgb(182, 181, 56);
/* oklch */ color: oklch(75.1% 0.143 108.9);
Tailwind
colors: {
  custom: {
    50: '#cfca76',
    500: '#b6b538',
    950: '#000000',
  },
}
SCSS
$custom: #b6b538;
$custom-light: #cfca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b538",
  "rgb": {
    "r": 182,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 59.524,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75137,
    "c": 0.14264,
    "h": 108.9
  },
  "luminance": 0.43278
}

Semantic roles & 50–950 ramp

primary
#B6B538
secondary
#8484C6
accent
#4DDC4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B538

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

Preview Lab → · Contrast checker → · Palette generator →

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