#B9AE38#B9AE38

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

Color values

HEX#B9AE38
RGBrgb(185, 174, 56)
HSLhsl(55, 54%, 47%)
HSVhsv(55, 70%, 73%)
CMYKcmyk(0%, 5.9%, 69.7%, 27.5%)
CIE-LABlab(70.09, -9.77, 58.98)
CIE-LCHlch(70.09, 59.78, 99.41°)
OKLaboklab(73.88% -0.0327 0.1315)
OKLCHoklch(73.88% 0.136 103.9)
XYZxyz(35.8589, 40.8733, 9.7411)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AE38 #3843B9
analogous
#B96E38 #B9AE38 #83B938
triadic
#B9AE38 #38B9AE #AE38B9
tetradic
#B9AE38 #38B96E #3843B9 #B93883
square
#B9AE38 #38B96E #3843B9 #B93883
split-complementary
#B9AE38 #3883B9 #6E38B9
monochromatic
#5B561C #8A822A #B9AE38 #CFC55F #DDD68E

Accessibility & contrast

On white

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

On black

9.17
#B9AE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AE38
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AE38#FFFFFF#000000##000000
##B9AE381.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#C7A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b9ae38;
/* rgb */ color: rgb(185, 174, 56);
/* oklch */ color: oklch(73.9% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#d1c576',
    500: '#b9ae38',
    950: '#000000',
  },
}
SCSS
$custom: #b9ae38;
$custom-light: #d1c576;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ae38",
  "rgb": {
    "r": 185,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 54.884,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73878,
    "c": 0.13551,
    "h": 103.9
  },
  "luminance": 0.40872
}

Semantic roles & 50–950 ramp

primary
#B9AE38
secondary
#858BC8
accent
#57DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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