#B9AE30#B9AE30

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

Color values

HEX#B9AE30
RGBrgb(185, 174, 48)
HSLhsl(55, 59%, 46%)
HSVhsv(55, 74%, 73%)
CMYKcmyk(0%, 5.9%, 74.1%, 27.5%)
CIE-LABlab(70.04, -10.16, 61.89)
CIE-LCHlch(70.04, 62.72, 99.32°)
OKLaboklab(73.82% -0.0346 0.1362)
OKLCHoklch(73.82% 0.141 104.2)
XYZxyz(35.6787, 40.8012, 8.7918)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AE30 #303BB9
analogous
#B96930 #B9AE30 #80B930
triadic
#B9AE30 #30B9AE #AE30B9
tetradic
#B9AE30 #30B969 #303BB9 #B93080
square
#B9AE30 #30B969 #303BB9 #B93080
split-complementary
#B9AE30 #3080B9 #6930B9
monochromatic
#585317 #888023 #B9AE30 #D3C854 #DFD884

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9AE30#FFFFFF#000000##000000
##B9AE301.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)
#BEA817
Deuteranopia (green-blind)
#C1AE39
Tritanopia (blue-blind)
#C7A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b9ae30;
/* rgb */ color: rgb(185, 174, 48);
/* oklch */ color: oklch(73.8% 0.141 104.2);
Tailwind
colors: {
  custom: {
    50: '#d2c572',
    500: '#b9ae30',
    950: '#000000',
  },
}
SCSS
$custom: #b9ae30;
$custom-light: #d2c572;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ae30",
  "rgb": {
    "r": 185,
    "g": 174,
    "b": 48
  },
  "hsl": {
    "h": 55.182,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73822,
    "c": 0.14056,
    "h": 104.2
  },
  "luminance": 0.408
}

Semantic roles & 50–950 ramp

primary
#B9AE30
secondary
#7C82C9
accent
#52E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AE30

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

Preview Lab → · Contrast checker → · Palette generator →

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