#B8AE45#B8AE45

#B8AE45 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.126 H 103.9°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#B8AE45
RGBrgb(184, 174, 69)
HSLhsl(55, 45%, 50%)
HSVhsv(55, 63%, 72%)
CMYKcmyk(0%, 5.4%, 62.5%, 27.8%)
CIE-LABlab(70.10, -9.43, 53.56)
CIE-LCHlch(70.10, 54.39, 99.99°)
OKLaboklab(73.9% -0.0302 0.1222)
OKLCHoklch(73.9% 0.126 103.9)
XYZxyz(35.9787, 40.8934, 11.6271)
Luminance0.4089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE45 #454FB8
analogous
#B87545 #B8AE45 #88B845
triadic
#B8AE45 #45B8AE #AE45B8
tetradic
#B8AE45 #45B875 #454FB8 #B84588
square
#B8AE45 #45B875 #454FB8 #B84588
split-complementary
#B8AE45 #4588B8 #7545B8
monochromatic
#5F5A24 #8B8434 #B8AE45 #CAC271 #DAD59D

Accessibility & contrast

On white

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

On black

9.18
#B8AE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AE45
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AE45#FFFFFF#000000##000000
##B8AE451.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA839
Deuteranopia (green-blind)
#C0AE4B
Tritanopia (blue-blind)
#C5A398
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae45;
/* rgb */ color: rgb(184, 174, 69);
/* oklch */ color: oklch(73.9% 0.126 103.9);
Tailwind
colors: {
  custom: {
    50: '#d0c57d',
    500: '#b8ae45',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae45;
$custom-light: #d0c57d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae45",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 69
  },
  "hsl": {
    "h": 54.783,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73901,
    "c": 0.12587,
    "h": 103.9
  },
  "luminance": 0.40892
}

Semantic roles & 50–950 ramp

primary
#B8AE45
secondary
#9297C7
accent
#5ED553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8AE45

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

Preview Lab → · Contrast checker → · Palette generator →

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