#B7AA36#B7AA36

#B7AA36 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#B7AA36
RGBrgb(183, 170, 54)
HSLhsl(54, 54%, 46%)
HSVhsv(54, 70%, 72%)
CMYKcmyk(0%, 7.1%, 70.5%, 28.2%)
CIE-LABlab(68.81, -8.66, 58.43)
CIE-LCHlch(68.81, 59.07, 98.43°)
OKLaboklab(72.82% -0.0296 0.1301)
OKLCHoklch(72.82% 0.133 102.8)
XYZxyz(34.5705, 39.0845, 9.2124)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AA36 #3643B7
analogous
#B76936 #B7AA36 #84B736
triadic
#B7AA36 #36B7AA #AA36B7
tetradic
#B7AA36 #36B769 #3643B7 #B73684
square
#B7AA36 #36B769 #3643B7 #B73684
split-complementary
#B7AA36 #3684B7 #6936B7
monochromatic
#58521A #887E28 #B7AA36 #CFC35B #DDD48B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b7aa36;
/* rgb */ color: rgb(183, 170, 54);
/* oklch */ color: oklch(72.8% 0.133 102.8);
Tailwind
colors: {
  custom: {
    50: '#d0c374',
    500: '#b7aa36',
    950: '#000000',
  },
}
SCSS
$custom: #b7aa36;
$custom-light: #d0c374;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aa36",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 54
  },
  "hsl": {
    "h": 53.953,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72818,
    "c": 0.13341,
    "h": 102.8
  },
  "luminance": 0.39083
}

Semantic roles & 50–950 ramp

primary
#B7AA36
secondary
#8289C7
accent
#59DE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AA36

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

Preview Lab → · Contrast checker → · Palette generator →

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