#B7AA45#B7AA45

#B7AA45 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.9% C 0.122 H 102.0°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#B7AA45
RGBrgb(183, 170, 69)
HSLhsl(53, 45%, 49%)
HSVhsv(53, 62%, 72%)
CMYKcmyk(0%, 7.1%, 62.3%, 28.2%)
CIE-LABlab(68.93, -7.77, 52.27)
CIE-LCHlch(68.93, 52.85, 98.45°)
OKLaboklab(72.95% -0.0254 0.1195)
OKLCHoklch(72.95% 0.122 102)
XYZxyz(34.9787, 39.2478, 11.3622)
Luminance0.3925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AA45 #4552B7
analogous
#B77145 #B7AA45 #8BB745
triadic
#B7AA45 #45B7AA #AA45B7
tetradic
#B7AA45 #45B771 #4552B7 #B7458B
square
#B7AA45 #45B771 #4552B7 #B7458B
split-complementary
#B7AA45 #458BB7 #7145B7
monochromatic
#5E5723 #8B8134 #B7AA45 #C9BF70 #DAD39D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AA45#FFFFFF#000000##000000
##B7AA451.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)
#B9A539
Deuteranopia (green-blind)
#BDAB4A
Tritanopia (blue-blind)
#C49F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b7aa45;
/* rgb */ color: rgb(183, 170, 69);
/* oklch */ color: oklch(72.9% 0.122 102.0);
Tailwind
colors: {
  custom: {
    50: '#cfc37d',
    500: '#b7aa45',
    950: '#000000',
  },
}
SCSS
$custom: #b7aa45;
$custom-light: #cfc37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aa45",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 69
  },
  "hsl": {
    "h": 53.158,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72949,
    "c": 0.12216,
    "h": 102
  },
  "luminance": 0.39246
}

Semantic roles & 50–950 ramp

primary
#B7AA45
secondary
#9298C6
accent
#62D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7AA45

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

Preview Lab → · Contrast checker → · Palette generator →

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