#B8AE52#B8AE52

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

Color values

HEX#B8AE52
RGBrgb(184, 174, 82)
HSLhsl(54, 42%, 52%)
HSVhsv(54, 55%, 72%)
CMYKcmyk(0%, 5.4%, 55.4%, 27.8%)
CIE-LABlab(70.23, -8.48, 47.75)
CIE-LCHlch(70.23, 48.49, 100.07°)
OKLaboklab(74.04% -0.026 0.1114)
OKLCHoklch(74.04% 0.114 103.1)
XYZxyz(36.4274, 41.0729, 13.9900)
Luminance0.4107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE52 #525CB8
analogous
#B87B52 #B8AE52 #8FB852
triadic
#B8AE52 #52B8AE #AE52B8
tetradic
#B8AE52 #52B87B #525CB8 #B8528F
square
#B8AE52 #52B87B #525CB8 #B8528F
split-complementary
#B8AE52 #528FB8 #7B52B8
monochromatic
#66602A #91893C #B8AE52 #CAC27D #DCD7A9

Accessibility & contrast

On white

2.28
#B8AE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#B8AE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AE52
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AE52#FFFFFF#000000##000000
##B8AE521.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ae52;
/* rgb */ color: rgb(184, 174, 82);
/* oklch */ color: oklch(74.0% 0.114 103.1);
Tailwind
colors: {
  custom: {
    50: '#d0c585',
    500: '#b8ae52',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae52;
$custom-light: #d0c585;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae52",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 82
  },
  "hsl": {
    "h": 54.118,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74041,
    "c": 0.11443,
    "h": 103.1
  },
  "luminance": 0.41072
}

Semantic roles & 50–950 ramp

primary
#B8AE52
secondary
#9DA1C9
accent
#62D256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8AE52

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

Preview Lab → · Contrast checker → · Palette generator →

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