#B8AE3F#B8AE3F

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

Color values

HEX#B8AE3F
RGBrgb(184, 174, 63)
HSLhsl(55, 49%, 48%)
HSVhsv(55, 66%, 72%)
CMYKcmyk(0%, 5.4%, 65.8%, 27.8%)
CIE-LABlab(70.05, -9.81, 56.08)
CIE-LCHlch(70.05, 56.94, 99.92°)
OKLaboklab(73.85% -0.0319 0.1266)
OKLCHoklch(73.85% 0.131 104.2)
XYZxyz(35.8018, 40.8227, 10.6954)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE3F #3F49B8
analogous
#B8713F #B8AE3F #85B83F
triadic
#B8AE3F #3FB8AE #AE3FB8
tetradic
#B8AE3F #3FB871 #3F49B8 #B83F85
square
#B8AE3F #3FB871 #3F49B8 #B83F85
split-complementary
#B8AE3F #3F85B8 #713FB8
monochromatic
#5D5820 #8A832F #B8AE3F #CCC369 #DBD596

Accessibility & contrast

On white

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

On black

9.16
#B8AE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AE3F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AE3F#FFFFFF#000000##000000
##B8AE3F1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA830
Deuteranopia (green-blind)
#C0AE46
Tritanopia (blue-blind)
#C5A297
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae3f;
/* rgb */ color: rgb(184, 174, 63);
/* oklch */ color: oklch(73.8% 0.131 104.2);
Tailwind
colors: {
  custom: {
    50: '#d0c57a',
    500: '#b8ae3f',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae3f;
$custom-light: #d0c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae3f",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 63
  },
  "hsl": {
    "h": 55.041,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73845,
    "c": 0.13059,
    "h": 104.2
  },
  "luminance": 0.40821
}

Semantic roles & 50–950 ramp

primary
#B8AE3F
secondary
#8C91C7
accent
#5BD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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