#B6B330#B6B330

#B6B330 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.6% C 0.146 H 108.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#B6B330
RGBrgb(182, 179, 48)
HSLhsl(59, 58%, 45%)
HSVhsv(59, 74%, 71%)
CMYKcmyk(0%, 1.6%, 73.6%, 28.6%)
CIE-LABlab(71.15, -14.04, 62.85)
CIE-LCHlch(71.15, 64.40, 102.60°)
OKLaboklab(74.64% -0.0453 0.1384)
OKLCHoklch(74.64% 0.146 108.1)
XYZxyz(35.9464, 42.3999, 9.0862)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B330 #3033B6
analogous
#B67030 #B6B330 #76B630
triadic
#B6B330 #30B6B3 #B330B6
tetradic
#B6B330 #30B670 #3033B6 #B63076
square
#B6B330 #30B670 #3033B6 #B63076
split-complementary
#B6B330 #3076B6 #7030B6
monochromatic
#555416 #868323 #B6B330 #D1CE52 #DEDC82

Accessibility & contrast

On white

2.22
#B6B330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#B6B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B330
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B330#FFFFFF#000000##000000
##B6B3301.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC15
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#C3A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b6b330;
/* rgb */ color: rgb(182, 179, 48);
/* oklch */ color: oklch(74.6% 0.146 108.1);
Tailwind
colors: {
  custom: {
    50: '#d0c972',
    500: '#b6b330',
    950: '#000000',
  },
}
SCSS
$custom: #b6b330;
$custom-light: #d0c972;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b330",
  "rgb": {
    "r": 182,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 58.657,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74644,
    "c": 0.1456,
    "h": 108.1
  },
  "luminance": 0.42399
}

Semantic roles & 50–950 ramp

primary
#B6B330
secondary
#7B7CC7
accent
#4AE146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B330

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

Preview Lab → · Contrast checker → · Palette generator →

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