#B9AE3C#B9AE3C

#B9AE3C is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.133 H 103.8°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#B9AE3C
RGBrgb(185, 174, 60)
HSLhsl(55, 51%, 48%)
HSVhsv(55, 68%, 73%)
CMYKcmyk(0%, 5.9%, 67.6%, 27.5%)
CIE-LABlab(70.12, -9.56, 57.41)
CIE-LCHlch(70.12, 58.20, 99.45°)
OKLaboklab(73.91% -0.0316 0.1289)
OKLCHoklch(73.91% 0.133 103.8)
XYZxyz(35.9607, 40.9140, 10.2771)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AE3C #3C47B9
analogous
#B96F3C #B9AE3C #85B93C
triadic
#B9AE3C #3CB9AE #AE3CB9
tetradic
#B9AE3C #3CB96F #3C47B9 #B93C85
square
#B9AE3C #3CB96F #3C47B9 #B93C85
split-complementary
#B9AE3C #3C85B9 #6F3CB9
monochromatic
#5D571E #8B832D #B9AE3C #CDC465 #DCD693

Accessibility & contrast

On white

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

On black

9.18
#B9AE3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AE3C
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AE3C#FFFFFF#000000##000000
##B9AE3C1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82C
Deuteranopia (green-blind)
#C1AE43
Tritanopia (blue-blind)
#C7A297
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b9ae3c;
/* rgb */ color: rgb(185, 174, 60);
/* oklch */ color: oklch(73.9% 0.133 103.8);
Tailwind
colors: {
  custom: {
    50: '#d1c578',
    500: '#b9ae3c',
    950: '#000000',
  },
}
SCSS
$custom: #b9ae3c;
$custom-light: #d1c578;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ae3c",
  "rgb": {
    "r": 185,
    "g": 174,
    "b": 60
  },
  "hsl": {
    "h": 54.72,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7391,
    "c": 0.13273,
    "h": 103.8
  },
  "luminance": 0.40913
}

Semantic roles & 50–950 ramp

primary
#B9AE3C
secondary
#898FC7
accent
#5ADA4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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