#B8AE3A#B8AE3A

#B8AE3A is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.134 H 104.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#B8AE3A
RGBrgb(184, 174, 58)
HSLhsl(55, 52%, 47%)
HSVhsv(55, 68%, 72%)
CMYKcmyk(0%, 5.4%, 68.5%, 27.8%)
CIE-LABlab(70.01, -10.10, 58.09)
CIE-LCHlch(70.01, 58.96, 99.86°)
OKLaboklab(73.8% -0.0333 0.13)
OKLCHoklch(73.8% 0.134 104.4)
XYZxyz(35.6684, 40.7693, 9.9926)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE3A #3A44B8
analogous
#B86F3A #B8AE3A #83B83A
triadic
#B8AE3A #3AB8AE #AE3AB8
tetradic
#B8AE3A #3AB86F #3A44B8 #B83A83
square
#B8AE3A #3AB86F #3A44B8 #B83A83
split-complementary
#B8AE3A #3A83B8 #6F3AB8
monochromatic
#5B561D #89822B #B8AE3A #CDC562 #DCD690

Accessibility & contrast

On white

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

On black

9.15
#B8AE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AE3A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AE3A#FFFFFF#000000##000000
##B8AE3A1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA829
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#C6A297
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae3a;
/* rgb */ color: rgb(184, 174, 58);
/* oklch */ color: oklch(73.8% 0.134 104.4);
Tailwind
colors: {
  custom: {
    50: '#d1c577',
    500: '#b8ae3a',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae3a;
$custom-light: #d1c577;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae3a",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 55.238,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73803,
    "c": 0.13422,
    "h": 104.4
  },
  "luminance": 0.40768
}

Semantic roles & 50–950 ramp

primary
#B8AE3A
secondary
#878CC7
accent
#58DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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