#B9AE40#B9AE40

#B9AE40 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.9% C 0.130 H 103.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#B9AE40
RGBrgb(185, 174, 64)
HSLhsl(55, 49%, 49%)
HSVhsv(55, 65%, 73%)
CMYKcmyk(0%, 5.9%, 65.4%, 27.5%)
CIE-LABlab(70.15, -9.32, 55.79)
CIE-LCHlch(70.15, 56.56, 99.49°)
OKLaboklab(73.94% -0.0305 0.1261)
OKLCHoklch(73.94% 0.13 103.6)
XYZxyz(36.0705, 40.9579, 10.8552)
Luminance0.4096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AE40 #404BB9
analogous
#B97240 #B9AE40 #88B940
triadic
#B9AE40 #40B9AE #AE40B9
tetradic
#B9AE40 #40B972 #404BB9 #B94088
square
#B9AE40 #40B972 #404BB9 #B94088
split-complementary
#B9AE40 #4088B9 #7240B9
monochromatic
#5E5821 #8C8330 #B9AE40 #CCC36B #DBD598

Accessibility & contrast

On white

2.28
#B9AE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#B9AE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AE40
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AE40#FFFFFF#000000##000000
##B9AE401.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#C6A297
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b9ae40;
/* rgb */ color: rgb(185, 174, 64);
/* oklch */ color: oklch(73.9% 0.130 103.6);
Tailwind
colors: {
  custom: {
    50: '#d1c57a',
    500: '#b9ae40',
    950: '#000000',
  },
}
SCSS
$custom: #b9ae40;
$custom-light: #d1c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ae40",
  "rgb": {
    "r": 185,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 54.545,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73944,
    "c": 0.12977,
    "h": 103.6
  },
  "luminance": 0.40957
}

Semantic roles & 50–950 ramp

primary
#B9AE40
secondary
#8E93C7
accent
#5CD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B9AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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