#B8AE2A#B8AE2A

#B8AE2A is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.144 H 104.9°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#B8AE2A
RGBrgb(184, 174, 42)
HSLhsl(56, 63%, 44%)
HSVhsv(56, 77%, 72%)
CMYKcmyk(0%, 5.4%, 77.2%, 27.8%)
CIE-LABlab(69.92, -10.85, 63.77)
CIE-LCHlch(69.92, 64.69, 99.66°)
OKLaboklab(73.69% -0.037 0.1391)
OKLCHoklch(73.69% 0.144 104.9)
XYZxyz(35.3227, 40.6310, 8.1720)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE2A #2A34B8
analogous
#B8672A #B8AE2A #7BB82A
triadic
#B8AE2A #2AB8AE #AE2AB8
tetradic
#B8AE2A #2AB867 #2A34B8 #B82A7B
square
#B8AE2A #2AB867 #2A34B8 #B82A7B
split-complementary
#B8AE2A #2A7BB8 #672AB8
monochromatic
#545013 #867F1F #B8AE2A #D6CC4A #E1DA7B

Accessibility & contrast

On white

2.30
#B8AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#B8AE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AE2A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AE2A#FFFFFF#000000##000000
##B8AE2A1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA807
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#C6A295
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae2a;
/* rgb */ color: rgb(184, 174, 42);
/* oklch */ color: oklch(73.7% 0.144 104.9);
Tailwind
colors: {
  custom: {
    50: '#d1c56f',
    500: '#b8ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae2a;
$custom-light: #d1c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae2a",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 55.775,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73695,
    "c": 0.14396,
    "h": 104.9
  },
  "luminance": 0.4063
}

Semantic roles & 50–950 ramp

primary
#B8AE2A
secondary
#757BC9
accent
#4DE642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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