#B6AA3A#B6AA3A

#B6AA3A is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.131 H 103.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B6AA3A
RGBrgb(182, 170, 58)
HSLhsl(54, 52%, 47%)
HSVhsv(54, 68%, 71%)
CMYKcmyk(0%, 6.6%, 68.1%, 28.6%)
CIE-LABlab(68.75, -8.88, 56.75)
CIE-LCHlch(68.75, 57.44, 98.89°)
OKLaboklab(72.76% -0.0297 0.1273)
OKLCHoklch(72.76% 0.131 103.2)
XYZxyz(34.4313, 39.0014, 9.7165)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AA3A #3A46B6
analogous
#B66C3A #B6AA3A #84B63A
triadic
#B6AA3A #3AB6AA #AA3AB6
tetradic
#B6AA3A #3AB66C #3A46B6 #B63A84
square
#B6AA3A #3AB66C #3A46B6 #B63A84
split-complementary
#B6AA3A #3A84B6 #6C3AB6
monochromatic
#59531C #887F2B #B6AA3A #CDC261 #DBD48F

Accessibility & contrast

On white

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

On black

8.80
#B6AA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AA3A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AA3A#FFFFFF#000000##000000
##B6AA3A1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A52A
Deuteranopia (green-blind)
#BDAA41
Tritanopia (blue-blind)
#C49E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6aa3a;
/* rgb */ color: rgb(182, 170, 58);
/* oklch */ color: oklch(72.8% 0.131 103.2);
Tailwind
colors: {
  custom: {
    50: '#cfc377',
    500: '#b6aa3a',
    950: '#000000',
  },
}
SCSS
$custom: #b6aa3a;
$custom-light: #cfc377;
$custom-dark: #000000;
JSON
{
  "hex": "#b6aa3a",
  "rgb": {
    "r": 182,
    "g": 170,
    "b": 58
  },
  "hsl": {
    "h": 54.194,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72758,
    "c": 0.1307,
    "h": 103.2
  },
  "luminance": 0.39
}

Semantic roles & 50–950 ramp

primary
#B6AA3A
secondary
#868CC6
accent
#5ADB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B6AA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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