#B7AA37#B7AA37

#B7AA37 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.133 H 102.8°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B7AA37
RGBrgb(183, 170, 55)
HSLhsl(54, 54%, 47%)
HSVhsv(54, 70%, 72%)
CMYKcmyk(0%, 7.1%, 69.9%, 28.2%)
CIE-LABlab(68.82, -8.61, 58.04)
CIE-LCHlch(68.82, 58.68, 98.44°)
OKLaboklab(72.83% -0.0293 0.1294)
OKLCHoklch(72.83% 0.133 102.8)
XYZxyz(34.5942, 39.0940, 9.3374)
Luminance0.3909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AA37 #3744B7
analogous
#B76A37 #B7AA37 #84B737
triadic
#B7AA37 #37B7AA #AA37B7
tetradic
#B7AA37 #37B76A #3744B7 #B73784
square
#B7AA37 #37B76A #3744B7 #B73784
split-complementary
#B7AA37 #3784B7 #6A37B7
monochromatic
#59531B #887E29 #B7AA37 #CEC35D #DCD48C

Accessibility & contrast

On white

2.38
#B7AA37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#B7AA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AA37
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AA37#FFFFFF#000000##000000
##B7AA371.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A526
Deuteranopia (green-blind)
#BDAB3E
Tritanopia (blue-blind)
#C59E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b7aa37;
/* rgb */ color: rgb(183, 170, 55);
/* oklch */ color: oklch(72.8% 0.133 102.8);
Tailwind
colors: {
  custom: {
    50: '#d0c375',
    500: '#b7aa37',
    950: '#000000',
  },
}
SCSS
$custom: #b7aa37;
$custom-light: #d0c375;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aa37",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 53.906,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72826,
    "c": 0.13273,
    "h": 102.8
  },
  "luminance": 0.39093
}

Semantic roles & 50–950 ramp

primary
#B7AA37
secondary
#838AC7
accent
#5ADD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AA37

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

Preview Lab → · Contrast checker → · Palette generator →

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