#B6A630#B6A630

#B6A630 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.134 H 101.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B6A630
RGBrgb(182, 166, 48)
HSLhsl(53, 58%, 45%)
HSVhsv(53, 74%, 71%)
CMYKcmyk(0%, 8.8%, 73.6%, 28.6%)
CIE-LABlab(67.60, -7.29, 59.48)
CIE-LCHlch(67.60, 59.92, 96.99°)
OKLaboklab(71.82% -0.0263 0.1312)
OKLCHoklch(71.82% 0.134 101.3)
XYZxyz(33.4627, 37.4324, 8.2583)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A630 #3040B6
analogous
#B66330 #B6A630 #83B630
triadic
#B6A630 #30B6A6 #A630B6
tetradic
#B6A630 #30B663 #3040B6 #B63083
square
#B6A630 #30B663 #3040B6 #B63083
split-complementary
#B6A630 #3083B6 #6330B6
monochromatic
#554E16 #867A23 #B6A630 #D1C252 #DED382

Accessibility & contrast

On white

2.47
#B6A630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#B6A630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A630
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A630#FFFFFF#000000##000000
##B6A6301.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#C49A8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b6a630;
/* rgb */ color: rgb(182, 166, 48);
/* oklch */ color: oklch(71.8% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#d0c071',
    500: '#b6a630',
    950: '#000000',
  },
}
SCSS
$custom: #b6a630;
$custom-light: #d0c071;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a630",
  "rgb": {
    "r": 182,
    "g": 166,
    "b": 48
  },
  "hsl": {
    "h": 52.836,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71821,
    "c": 0.13384,
    "h": 101.3
  },
  "luminance": 0.37431
}

Semantic roles & 50–950 ramp

primary
#B6A630
secondary
#7B84C7
accent
#59E146
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A630

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

Preview Lab → · Contrast checker → · Palette generator →

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