#B9AE45#B9AE45

#B9AE45 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.0% C 0.126 H 103.3°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#B9AE45
RGBrgb(185, 174, 69)
HSLhsl(54, 46%, 50%)
HSVhsv(54, 63%, 73%)
CMYKcmyk(0%, 5.9%, 62.7%, 27.5%)
CIE-LABlab(70.19, -9.00, 53.68)
CIE-LCHlch(70.19, 54.43, 99.52°)
OKLaboklab(73.99% -0.029 0.1224)
OKLCHoklch(73.99% 0.126 103.3)
XYZxyz(36.2192, 41.0174, 11.6384)
Luminance0.4102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AE45 #4550B9
analogous
#B97445 #B9AE45 #8AB945
triadic
#B9AE45 #45B9AE #AE45B9
tetradic
#B9AE45 #45B974 #4550B9 #B9458A
square
#B9AE45 #45B974 #4550B9 #B9458A
split-complementary
#B9AE45 #458AB9 #7445B9
monochromatic
#605A24 #8C8434 #B9AE45 #CAC271 #DBD59E

Accessibility & contrast

On white

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

On black

9.20
#B9AE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AE45
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AE45#FFFFFF#000000##000000
##B9AE451.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA939
Deuteranopia (green-blind)
#C0AE4B
Tritanopia (blue-blind)
#C6A398
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b9ae45;
/* rgb */ color: rgb(185, 174, 69);
/* oklch */ color: oklch(74.0% 0.126 103.3);
Tailwind
colors: {
  custom: {
    50: '#d1c57d',
    500: '#b9ae45',
    950: '#000000',
  },
}
SCSS
$custom: #b9ae45;
$custom-light: #d1c57d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ae45",
  "rgb": {
    "r": 185,
    "g": 174,
    "b": 69
  },
  "hsl": {
    "h": 54.31,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73991,
    "c": 0.12582,
    "h": 103.3
  },
  "luminance": 0.41016
}

Semantic roles & 50–950 ramp

primary
#B9AE45
secondary
#9398C7
accent
#5FD552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B9AE45

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

Preview Lab → · Contrast checker → · Palette generator →

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