#B6AA2C#B6AA2C

#B6AA2C is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.140 H 103.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B6AA2C
RGBrgb(182, 170, 44)
HSLhsl(55, 61%, 44%)
HSVhsv(55, 76%, 71%)
CMYKcmyk(0%, 6.6%, 75.8%, 28.6%)
CIE-LABlab(68.66, -9.56, 61.89)
CIE-LCHlch(68.66, 62.63, 98.78°)
OKLaboklab(72.66% -0.0331 0.1356)
OKLCHoklch(72.66% 0.14 103.7)
XYZxyz(34.1223, 38.8778, 8.0892)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AA2C #2C38B6
analogous
#B6652C #B6AA2C #7DB62C
triadic
#B6AA2C #2CB6AA #AA2CB6
tetradic
#B6AA2C #2CB665 #2C38B6 #B62C7D
square
#B6AA2C #2CB665 #2C38B6 #B62C7D
split-complementary
#B6AA2C #2C7DB6 #652CB6
monochromatic
#534E14 #857C20 #B6AA2C #D4C84C #E0D77D

Accessibility & contrast

On white

2.39
#B6AA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B6AA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AA2C
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AA2C#FFFFFF#000000##000000
##B6AA2C1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA410
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#C49E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b6aa2c;
/* rgb */ color: rgb(182, 170, 44);
/* oklch */ color: oklch(72.7% 0.140 103.7);
Tailwind
colors: {
  custom: {
    50: '#d0c26f',
    500: '#b6aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #b6aa2c;
$custom-light: #d0c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6aa2c",
  "rgb": {
    "r": 182,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 54.783,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72658,
    "c": 0.13958,
    "h": 103.7
  },
  "luminance": 0.38876
}

Semantic roles & 50–950 ramp

primary
#B6AA2C
secondary
#767DC8
accent
#52E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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