#B9AD2C#B9AD2C

#B9AD2C is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.6% C 0.142 H 103.8°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#B9AD2C
RGBrgb(185, 173, 44)
HSLhsl(55, 62%, 45%)
HSVhsv(55, 76%, 73%)
CMYKcmyk(0%, 6.5%, 76.2%, 27.5%)
CIE-LABlab(69.74, -9.81, 62.99)
CIE-LCHlch(69.74, 63.75, 98.86°)
OKLaboklab(73.58% -0.034 0.1378)
OKLCHoklch(73.58% 0.142 103.8)
XYZxyz(35.4074, 40.3848, 8.3124)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AD2C #2C38B9
analogous
#B9672C #B9AD2C #7EB92C
triadic
#B9AD2C #2CB9AD #AD2CB9
tetradic
#B9AD2C #2CB967 #2C38B9 #B92C7E
square
#B9AD2C #2CB967 #2C38B9 #B92C7E
split-complementary
#B9AD2C #2C7EB9 #672CB9
monochromatic
#565114 #887F20 #B9AD2C #D5C94D #E1D87F

Accessibility & contrast

On white

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

On black

9.08
#B9AD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AD2C
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AD2C#FFFFFF#000000##000000
##B9AD2C1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA70E
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#C7A195
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ad2c;
/* rgb */ color: rgb(185, 173, 44);
/* oklch */ color: oklch(73.6% 0.142 103.8);
Tailwind
colors: {
  custom: {
    50: '#d2c570',
    500: '#b9ad2c',
    950: '#000000',
  },
}
SCSS
$custom: #b9ad2c;
$custom-light: #d2c570;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ad2c",
  "rgb": {
    "r": 185,
    "g": 173,
    "b": 44
  },
  "hsl": {
    "h": 54.894,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73581,
    "c": 0.14193,
    "h": 103.8
  },
  "luminance": 0.40383
}

Semantic roles & 50–950 ramp

primary
#B9AD2C
secondary
#787FC9
accent
#51E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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