#B6A330#B6A330

#B6A330 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.131 H 99.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B6A330
RGBrgb(182, 163, 48)
HSLhsl(51, 58%, 45%)
HSVhsv(51, 74%, 71%)
CMYKcmyk(0%, 10.4%, 73.6%, 28.6%)
CIE-LABlab(66.79, -5.70, 58.70)
CIE-LCHlch(66.79, 58.98, 95.55°)
OKLaboklab(71.18% -0.0218 0.1296)
OKLCHoklch(71.18% 0.131 99.5)
XYZxyz(32.9237, 36.3545, 8.0786)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A330 #3043B6
analogous
#B66030 #B6A330 #86B630
triadic
#B6A330 #30B6A3 #A330B6
tetradic
#B6A330 #30B660 #3043B6 #B63086
square
#B6A330 #30B660 #3043B6 #B63086
split-complementary
#B6A330 #3086B6 #6030B6
monochromatic
#554C16 #867823 #B6A330 #D1BF52 #DED182

Accessibility & contrast

On white

2.54
#B6A330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B6A330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A330
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A330#FFFFFF#000000##000000
##B6A3301.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1C
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#C4978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b6a330;
/* rgb */ color: rgb(182, 163, 48);
/* oklch */ color: oklch(71.2% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#d0bd70',
    500: '#b6a330',
    950: '#000000',
  },
}
SCSS
$custom: #b6a330;
$custom-light: #d0bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a330",
  "rgb": {
    "r": 182,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 51.493,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71178,
    "c": 0.1314,
    "h": 99.5
  },
  "luminance": 0.36353
}

Semantic roles & 50–950 ramp

primary
#B6A330
secondary
#7B85C7
accent
#5CE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A330

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

Preview Lab → · Contrast checker → · Palette generator →

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