#B8AE40#B8AE40

#B8AE40 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.9% C 0.130 H 104.1°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#B8AE40
RGBrgb(184, 174, 64)
HSLhsl(55, 48%, 49%)
HSVhsv(55, 65%, 72%)
CMYKcmyk(0%, 5.4%, 65.2%, 27.8%)
CIE-LABlab(70.06, -9.75, 55.67)
CIE-LCHlch(70.06, 56.52, 99.94°)
OKLaboklab(73.85% -0.0317 0.1259)
OKLCHoklch(73.85% 0.13 104.1)
XYZxyz(35.8300, 40.8340, 10.8439)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE40 #404AB8
analogous
#B87240 #B8AE40 #86B840
triadic
#B8AE40 #40B8AE #AE40B8
tetradic
#B8AE40 #40B872 #404AB8 #B84086
square
#B8AE40 #40B872 #404AB8 #B84086
split-complementary
#B8AE40 #4086B8 #7240B8
monochromatic
#5D5820 #8B8330 #B8AE40 #CBC36A #DBD597

Accessibility & contrast

On white

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

On black

9.17
#B8AE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AE40
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AE40#FFFFFF#000000##000000
##B8AE401.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#C0AE47
Tritanopia (blue-blind)
#C5A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae40;
/* rgb */ color: rgb(184, 174, 64);
/* oklch */ color: oklch(73.9% 0.130 104.1);
Tailwind
colors: {
  custom: {
    50: '#d0c57a',
    500: '#b8ae40',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae40;
$custom-light: #d0c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae40",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 55,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73854,
    "c": 0.12983,
    "h": 104.1
  },
  "luminance": 0.40833
}

Semantic roles & 50–950 ramp

primary
#B8AE40
secondary
#8D92C7
accent
#5BD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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