#B9AE34#B9AE34

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

Color values

HEX#B9AE34
RGBrgb(185, 174, 52)
HSLhsl(55, 56%, 46%)
HSVhsv(55, 72%, 73%)
CMYKcmyk(0%, 5.9%, 71.9%, 27.5%)
CIE-LABlab(70.06, -9.98, 60.47)
CIE-LCHlch(70.06, 61.29, 99.37°)
OKLaboklab(73.85% -0.0336 0.134)
OKLCHoklch(73.85% 0.138 104.1)
XYZxyz(35.7650, 40.8358, 9.2463)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AE34 #343FB9
analogous
#B96C34 #B9AE34 #82B934
triadic
#B9AE34 #34B9AE #AE34B9
tetradic
#B9AE34 #34B96C #343FB9 #B93482
square
#B9AE34 #34B96C #343FB9 #B93482
split-complementary
#B9AE34 #3482B9 #6C34B9
monochromatic
#595419 #898127 #B9AE34 #D1C75A #DED789

Accessibility & contrast

On white

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

On black

9.17
#B9AE34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AE34
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AE34#FFFFFF#000000##000000
##B9AE341.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81F
Deuteranopia (green-blind)
#C1AE3C
Tritanopia (blue-blind)
#C7A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b9ae34;
/* rgb */ color: rgb(185, 174, 52);
/* oklch */ color: oklch(73.8% 0.138 104.1);
Tailwind
colors: {
  custom: {
    50: '#d2c574',
    500: '#b9ae34',
    950: '#000000',
  },
}
SCSS
$custom: #b9ae34;
$custom-light: #d2c574;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ae34",
  "rgb": {
    "r": 185,
    "g": 174,
    "b": 52
  },
  "hsl": {
    "h": 55.038,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73849,
    "c": 0.13813,
    "h": 104.1
  },
  "luminance": 0.40834
}

Semantic roles & 50–950 ramp

primary
#B9AE34
secondary
#8187C8
accent
#55DF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9AE34

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

Preview Lab → · Contrast checker → · Palette generator →

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