#B7AE52#B7AE52

#B7AE52 is a light, moderate yellow. Relative luminance 0.409; OKLCH L 74.0% C 0.114 H 103.7°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#B7AE52
RGBrgb(183, 174, 82)
HSLhsl(55, 41%, 52%)
HSVhsv(55, 55%, 72%)
CMYKcmyk(0%, 4.9%, 55.2%, 28.2%)
CIE-LABlab(70.14, -8.90, 47.62)
CIE-LCHlch(70.14, 48.45, 100.59°)
OKLaboklab(73.95% -0.0271 0.1112)
OKLCHoklch(73.95% 0.114 103.7)
XYZxyz(36.1886, 40.9498, 13.9788)
Luminance0.4095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE52 #525BB7
analogous
#B77B52 #B7AE52 #8EB752
triadic
#B7AE52 #52B7AE #AE52B7
tetradic
#B7AE52 #52B77B #525BB7 #B7528E
square
#B7AE52 #52B77B #525BB7 #B7528E
split-complementary
#B7AE52 #528EB7 #7B52B7
monochromatic
#655F2A #90883C #B7AE52 #C9C27D #DBD6A8

Accessibility & contrast

On white

2.29
#B7AE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#B7AE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE52
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE52#FFFFFF#000000##000000
##B7AE521.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA949
Deuteranopia (green-blind)
#BFAE57
Tritanopia (blue-blind)
#C3A499
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae52;
/* rgb */ color: rgb(183, 174, 82);
/* oklch */ color: oklch(74.0% 0.114 103.7);
Tailwind
colors: {
  custom: {
    50: '#cfc585',
    500: '#b7ae52',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae52;
$custom-light: #cfc585;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae52",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 82
  },
  "hsl": {
    "h": 54.653,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73952,
    "c": 0.11445,
    "h": 103.7
  },
  "luminance": 0.40949
}

Semantic roles & 50–950 ramp

primary
#B7AE52
secondary
#9CA0C9
accent
#62D157
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B7AE52

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

Preview Lab → · Contrast checker → · Palette generator →

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