#B9AE2B#B9AE2B

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

Color values

HEX#B9AE2B
RGBrgb(185, 174, 43)
HSLhsl(55, 62%, 45%)
HSVhsv(55, 77%, 73%)
CMYKcmyk(0%, 5.9%, 76.8%, 27.5%)
CIE-LABlab(70.01, -10.37, 63.56)
CIE-LCHlch(70.01, 64.40, 99.27°)
OKLaboklab(73.79% -0.0356 0.1388)
OKLCHoklch(73.79% 0.143 104.4)
XYZxyz(35.5813, 40.7623, 8.2787)
Luminance0.4076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AE2B #2B36B9
analogous
#B9672B #B9AE2B #7DB92B
triadic
#B9AE2B #2BB9AE #AE2BB9
tetradic
#B9AE2B #2BB967 #2B36B9 #B92B7D
square
#B9AE2B #2BB967 #2B36B9 #B92B7D
split-complementary
#B9AE2B #2B7DB9 #672BB9
monochromatic
#565114 #877F1F #B9AE2B #D5CB4C #E1D97E

Accessibility & contrast

On white

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

On black

9.15
#B9AE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AE2B
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AE2B#FFFFFF#000000##000000
##B9AE2B1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA80A
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#C7A295
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b9ae2b;
/* rgb */ color: rgb(185, 174, 43);
/* oklch */ color: oklch(73.8% 0.143 104.4);
Tailwind
colors: {
  custom: {
    50: '#d2c56f',
    500: '#b9ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #b9ae2b;
$custom-light: #d2c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ae2b",
  "rgb": {
    "r": 185,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 55.352,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73791,
    "c": 0.14334,
    "h": 104.4
  },
  "luminance": 0.40761
}

Semantic roles & 50–950 ramp

primary
#B9AE2B
secondary
#767DC9
accent
#4FE542
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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