#B6AA2D#B6AA2D

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

Color values

HEX#B6AA2D
RGBrgb(182, 170, 45)
HSLhsl(55, 60%, 45%)
HSVhsv(55, 75%, 71%)
CMYKcmyk(0%, 6.6%, 75.3%, 28.6%)
CIE-LABlab(68.67, -9.52, 61.56)
CIE-LCHlch(68.67, 62.29, 98.79°)
OKLaboklab(72.66% -0.0329 0.1351)
OKLCHoklch(72.66% 0.139 103.7)
XYZxyz(34.1413, 38.8854, 8.1894)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AA2D #2D39B6
analogous
#B6662D #B6AA2D #7DB62D
triadic
#B6AA2D #2DB6AA #AA2DB6
tetradic
#B6AA2D #2DB666 #2D39B6 #B62D7D
square
#B6AA2D #2DB666 #2D39B6 #B62D7D
split-complementary
#B6AA2D #2D7DB6 #662DB6
monochromatic
#544E15 #857C21 #B6AA2D #D3C74D #DFD77E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AA2D#FFFFFF#000000##000000
##B6AA2D1.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)
#BAA413
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#C49E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b6aa2d;
/* rgb */ color: rgb(182, 170, 45);
/* oklch */ color: oklch(72.7% 0.139 103.7);
Tailwind
colors: {
  custom: {
    50: '#d0c270',
    500: '#b6aa2d',
    950: '#000000',
  },
}
SCSS
$custom: #b6aa2d;
$custom-light: #d0c270;
$custom-dark: #000000;
JSON
{
  "hex": "#b6aa2d",
  "rgb": {
    "r": 182,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 54.745,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72664,
    "c": 0.13901,
    "h": 103.7
  },
  "luminance": 0.38884
}

Semantic roles & 50–950 ramp

primary
#B6AA2D
secondary
#777EC8
accent
#52E344
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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