#B8AE31#B8AE31

#B8AE31 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.7% C 0.140 H 104.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#B8AE31
RGBrgb(184, 174, 49)
HSLhsl(56, 58%, 46%)
HSVhsv(56, 73%, 72%)
CMYKcmyk(0%, 5.4%, 73.4%, 27.8%)
CIE-LABlab(69.96, -10.55, 61.43)
CIE-LCHlch(69.96, 62.33, 99.75°)
OKLaboklab(73.74% -0.0355 0.1355)
OKLCHoklch(73.74% 0.14 104.7)
XYZxyz(35.4591, 40.6856, 8.8904)
Luminance0.4068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE31 #313BB8
analogous
#B86B31 #B8AE31 #7EB831
triadic
#B8AE31 #31B8AE #AE31B8
tetradic
#B8AE31 #31B86B #313BB8 #B8317E
square
#B8AE31 #31B86B #313BB8 #B8317E
split-complementary
#B8AE31 #317EB8 #6B31B8
monochromatic
#575317 #888024 #B8AE31 #D2C855 #DED885

Accessibility & contrast

On white

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

On black

9.14
#B8AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AE31
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AE31#FFFFFF#000000##000000
##B8AE311.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81A
Deuteranopia (green-blind)
#C1AD3A
Tritanopia (blue-blind)
#C6A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae31;
/* rgb */ color: rgb(184, 174, 49);
/* oklch */ color: oklch(73.7% 0.140 104.7);
Tailwind
colors: {
  custom: {
    50: '#d1c572',
    500: '#b8ae31',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae31;
$custom-light: #d1c572;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae31",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 55.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73738,
    "c": 0.14006,
    "h": 104.7
  },
  "luminance": 0.40684
}

Semantic roles & 50–950 ramp

primary
#B8AE31
secondary
#7D82C8
accent
#52E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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