#B9AE3A#B9AE3A

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

Color values

HEX#B9AE3A
RGBrgb(185, 174, 58)
HSLhsl(55, 52%, 48%)
HSVhsv(55, 69%, 73%)
CMYKcmyk(0%, 5.9%, 68.6%, 27.5%)
CIE-LABlab(70.10, -9.67, 58.20)
CIE-LCHlch(70.10, 59.00, 99.43°)
OKLaboklab(73.89% -0.0321 0.1302)
OKLCHoklch(73.89% 0.134 103.9)
XYZxyz(35.9088, 40.8933, 10.0039)
Luminance0.4089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AE3A #3A45B9
analogous
#B96E3A #B9AE3A #85B93A
triadic
#B9AE3A #3AB9AE #AE3AB9
tetradic
#B9AE3A #3AB96E #3A45B9 #B93A85
square
#B9AE3A #3AB96E #3A45B9 #B93A85
split-complementary
#B9AE3A #3A85B9 #6E3AB9
monochromatic
#5C561D #8A822B #B9AE3A #CEC562 #DCD691

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9AE3A#FFFFFF#000000##000000
##B9AE3A1.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)
#BDA829
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#C7A297
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b9ae3a;
/* rgb */ color: rgb(185, 174, 58);
/* oklch */ color: oklch(73.9% 0.134 103.9);
Tailwind
colors: {
  custom: {
    50: '#d1c577',
    500: '#b9ae3a',
    950: '#000000',
  },
}
SCSS
$custom: #b9ae3a;
$custom-light: #d1c577;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ae3a",
  "rgb": {
    "r": 185,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 54.803,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73894,
    "c": 0.13415,
    "h": 103.9
  },
  "luminance": 0.40892
}

Semantic roles & 50–950 ramp

primary
#B9AE3A
secondary
#878DC7
accent
#59DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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