#B7AA33#B7AA33

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

Color values

HEX#B7AA33
RGBrgb(183, 170, 51)
HSLhsl(54, 56%, 46%)
HSVhsv(54, 72%, 72%)
CMYKcmyk(0%, 7.1%, 72.1%, 28.2%)
CIE-LABlab(68.79, -8.81, 59.55)
CIE-LCHlch(68.79, 60.20, 98.42°)
OKLaboklab(72.8% -0.0303 0.1319)
OKLCHoklch(72.8% 0.135 103)
XYZxyz(34.5022, 39.0572, 8.8527)
Luminance0.3906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AA33 #3340B7
analogous
#B76833 #B7AA33 #82B733
triadic
#B7AA33 #33B7AA #AA33B7
tetradic
#B7AA33 #33B768 #3340B7 #B73382
square
#B7AA33 #33B768 #3340B7 #B73382
split-complementary
#B7AA33 #3382B7 #6833B7
monochromatic
#575118 #877E26 #B7AA33 #D0C457 #DED587

Accessibility & contrast

On white

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

On black

8.81
#B7AA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AA33
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AA33#FFFFFF#000000##000000
##B7AA331.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7aa33;
/* rgb */ color: rgb(183, 170, 51);
/* oklch */ color: oklch(72.8% 0.135 103.0);
Tailwind
colors: {
  custom: {
    50: '#d0c373',
    500: '#b7aa33',
    950: '#000000',
  },
}
SCSS
$custom: #b7aa33;
$custom-light: #d0c373;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aa33",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 54.091,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72796,
    "c": 0.13535,
    "h": 103
  },
  "luminance": 0.39056
}

Semantic roles & 50–950 ramp

primary
#B7AA33
secondary
#7F86C7
accent
#57E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AA33

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

Preview Lab → · Contrast checker → · Palette generator →

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