#B7AA35#B7AA35

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

Color values

HEX#B7AA35
RGBrgb(183, 170, 53)
HSLhsl(54, 55%, 46%)
HSVhsv(54, 71%, 72%)
CMYKcmyk(0%, 7.1%, 71%, 28.2%)
CIE-LABlab(68.81, -8.71, 58.81)
CIE-LCHlch(68.81, 59.45, 98.43°)
OKLaboklab(72.81% -0.0298 0.1307)
OKLCHoklch(72.81% 0.134 102.9)
XYZxyz(34.5473, 39.0752, 9.0900)
Luminance0.3907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AA35 #3542B7
analogous
#B76935 #B7AA35 #83B735
triadic
#B7AA35 #35B7AA #AA35B7
tetradic
#B7AA35 #35B769 #3542B7 #B73583
square
#B7AA35 #35B769 #3542B7 #B73583
split-complementary
#B7AA35 #3583B7 #6935B7
monochromatic
#58521A #887E27 #B7AA35 #CFC35A #DDD589

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AA35#FFFFFF#000000##000000
##B7AA351.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)
#B9A522
Deuteranopia (green-blind)
#BDAB3D
Tritanopia (blue-blind)
#C59E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b7aa35;
/* rgb */ color: rgb(183, 170, 53);
/* oklch */ color: oklch(72.8% 0.134 102.9);
Tailwind
colors: {
  custom: {
    50: '#d0c374',
    500: '#b7aa35',
    950: '#000000',
  },
}
SCSS
$custom: #b7aa35;
$custom-light: #d0c374;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aa35",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 53
  },
  "hsl": {
    "h": 54,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7281,
    "c": 0.13407,
    "h": 102.9
  },
  "luminance": 0.39074
}

Semantic roles & 50–950 ramp

primary
#B7AA35
secondary
#8188C7
accent
#58DE49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AA35

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

Preview Lab → · Contrast checker → · Palette generator →

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