#B8AE34#B8AE34

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

Color values

HEX#B8AE34
RGBrgb(184, 174, 52)
HSLhsl(55, 56%, 46%)
HSVhsv(55, 72%, 72%)
CMYKcmyk(0%, 5.4%, 71.7%, 27.8%)
CIE-LABlab(69.97, -10.41, 60.36)
CIE-LCHlch(69.97, 61.25, 99.79°)
OKLaboklab(73.76% -0.0348 0.1338)
OKLCHoklch(73.76% 0.138 104.6)
XYZxyz(35.5245, 40.7118, 9.2351)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE34 #343EB8
analogous
#B86C34 #B8AE34 #80B834
triadic
#B8AE34 #34B8AE #AE34B8
tetradic
#B8AE34 #34B86C #343EB8 #B83480
square
#B8AE34 #34B86C #343EB8 #B83480
split-complementary
#B8AE34 #3480B8 #6C34B8
monochromatic
#595419 #888127 #B8AE34 #D0C759 #DED789

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AE34#FFFFFF#000000##000000
##B8AE341.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)
#BDA81F
Deuteranopia (green-blind)
#C1AD3C
Tritanopia (blue-blind)
#C6A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae34;
/* rgb */ color: rgb(184, 174, 52);
/* oklch */ color: oklch(73.8% 0.138 104.6);
Tailwind
colors: {
  custom: {
    50: '#d1c574',
    500: '#b8ae34',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae34;
$custom-light: #d1c574;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae34",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 52
  },
  "hsl": {
    "h": 55.455,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73758,
    "c": 0.13822,
    "h": 104.6
  },
  "luminance": 0.4071
}

Semantic roles & 50–950 ramp

primary
#B8AE34
secondary
#8086C8
accent
#54DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AE34

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

Preview Lab → · Contrast checker → · Palette generator →

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