#B9AD38#B9AD38

#B9AD38 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.7% C 0.135 H 103.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#B9AD38
RGBrgb(185, 173, 56)
HSLhsl(54, 54%, 47%)
HSVhsv(54, 70%, 73%)
CMYKcmyk(0%, 6.5%, 69.7%, 27.5%)
CIE-LABlab(69.82, -9.25, 58.71)
CIE-LCHlch(69.82, 59.43, 98.96°)
OKLaboklab(73.66% -0.0312 0.131)
OKLCHoklch(73.66% 0.135 103.4)
XYZxyz(35.6665, 40.4884, 9.6769)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AD38 #3844B9
analogous
#B96D38 #B9AD38 #84B938
triadic
#B9AD38 #38B9AD #AD38B9
tetradic
#B9AD38 #38B96D #3844B9 #B93884
square
#B9AD38 #38B96D #3844B9 #B93884
split-complementary
#B9AD38 #3884B9 #6D38B9
monochromatic
#5B551C #8A812A #B9AD38 #CFC45F #DDD68E

Accessibility & contrast

On white

2.31
#B9AD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#B9AD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AD38
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AD38#FFFFFF#000000##000000
##B9AD381.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA726
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#C7A196
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b9ad38;
/* rgb */ color: rgb(185, 173, 56);
/* oklch */ color: oklch(73.7% 0.135 103.4);
Tailwind
colors: {
  custom: {
    50: '#d1c576',
    500: '#b9ad38',
    950: '#000000',
  },
}
SCSS
$custom: #b9ad38;
$custom-light: #d1c576;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ad38",
  "rgb": {
    "r": 185,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 54.419,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73662,
    "c": 0.13461,
    "h": 103.4
  },
  "luminance": 0.40487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9AD38

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

Preview Lab → · Contrast checker → · Palette generator →

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