#B7AA46#B7AA46

#B7AA46 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.0% C 0.121 H 101.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#B7AA46
RGBrgb(183, 170, 70)
HSLhsl(53, 45%, 50%)
HSVhsv(53, 62%, 72%)
CMYKcmyk(0%, 7.1%, 61.7%, 28.2%)
CIE-LABlab(68.94, -7.70, 51.83)
CIE-LCHlch(68.94, 52.40, 98.45°)
OKLaboklab(72.96% -0.0251 0.1187)
OKLCHoklch(72.96% 0.121 101.9)
XYZxyz(35.0100, 39.2603, 11.5270)
Luminance0.3926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AA46 #4653B7
analogous
#B77146 #B7AA46 #8CB746
triadic
#B7AA46 #46B7AA #AA46B7
tetradic
#B7AA46 #46B771 #4653B7 #B7468C
square
#B7AA46 #46B771 #4653B7 #B7468C
split-complementary
#B7AA46 #468CB7 #7146B7
monochromatic
#5E5824 #8B8135 #B7AA46 #C9BF71 #DAD39E

Accessibility & contrast

On white

2.37
#B7AA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#B7AA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AA46
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AA46#FFFFFF#000000##000000
##B7AA461.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A53B
Deuteranopia (green-blind)
#BDAB4B
Tritanopia (blue-blind)
#C49F95
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b7aa46;
/* rgb */ color: rgb(183, 170, 70);
/* oklch */ color: oklch(73.0% 0.121 101.9);
Tailwind
colors: {
  custom: {
    50: '#cfc37e',
    500: '#b7aa46',
    950: '#000000',
  },
}
SCSS
$custom: #b7aa46;
$custom-light: #cfc37e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aa46",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 70
  },
  "hsl": {
    "h": 53.097,
    "s": 44.664,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72959,
    "c": 0.12132,
    "h": 101.9
  },
  "luminance": 0.39259
}

Semantic roles & 50–950 ramp

primary
#B7AA46
secondary
#9399C6
accent
#62D453
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7AA46

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

Preview Lab → · Contrast checker → · Palette generator →

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