#B8AE2B#B8AE2B

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

Color values

HEX#B8AE2B
RGBrgb(184, 174, 43)
HSLhsl(56, 62%, 45%)
HSVhsv(56, 77%, 72%)
CMYKcmyk(0%, 5.4%, 76.6%, 27.8%)
CIE-LABlab(69.92, -10.81, 63.45)
CIE-LCHlch(69.92, 64.37, 99.67°)
OKLaboklab(73.7% -0.0368 0.1386)
OKLCHoklch(73.7% 0.143 104.9)
XYZxyz(35.3408, 40.6383, 8.2674)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE2B #2B35B8
analogous
#B8682B #B8AE2B #7BB82B
triadic
#B8AE2B #2BB8AE #AE2BB8
tetradic
#B8AE2B #2BB868 #2B35B8 #B82B7B
square
#B8AE2B #2BB868 #2B35B8 #B82B7B
split-complementary
#B8AE2B #2B7BB8 #682BB8
monochromatic
#555014 #867F1F #B8AE2B #D5CB4B #E1DA7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AE2B#FFFFFF#000000##000000
##B8AE2B1.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)
#BEA80A
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#C6A295
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae2b;
/* rgb */ color: rgb(184, 174, 43);
/* oklch */ color: oklch(73.7% 0.143 104.9);
Tailwind
colors: {
  custom: {
    50: '#d1c56f',
    500: '#b8ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae2b;
$custom-light: #d1c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae2b",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 55.745,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73701,
    "c": 0.14344,
    "h": 104.9
  },
  "luminance": 0.40637
}

Semantic roles & 50–950 ramp

primary
#B8AE2B
secondary
#767CC9
accent
#4EE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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