#B9AC2D#B9AC2D

#B9AC2D is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.141 H 103.3°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B9AC2D
RGBrgb(185, 172, 45)
HSLhsl(54, 61%, 45%)
HSVhsv(54, 76%, 73%)
CMYKcmyk(0%, 7%, 75.7%, 27.5%)
CIE-LABlab(69.48, -9.25, 62.41)
CIE-LCHlch(69.48, 63.09, 98.43°)
OKLaboklab(73.37% -0.0323 0.1368)
OKLCHoklch(73.37% 0.141 103.3)
XYZxyz(35.2353, 40.0103, 8.3489)
Luminance0.4001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC2D #2D3AB9
analogous
#B9662D #B9AC2D #80B92D
triadic
#B9AC2D #2DB9AC #AC2DB9
tetradic
#B9AC2D #2DB966 #2D3AB9 #B92D80
square
#B9AC2D #2DB966 #2D3AB9 #B92D80
split-complementary
#B9AC2D #2D80B9 #662DB9
monochromatic
#575015 #887E21 #B9AC2D #D4C84F #E0D780

Accessibility & contrast

On white

2.33
#B9AC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#B9AC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AC2D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AC2D#FFFFFF#000000##000000
##B9AC2D1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA612
Deuteranopia (green-blind)
#C0AC36
Tritanopia (blue-blind)
#C7A094
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ac2d;
/* rgb */ color: rgb(185, 172, 45);
/* oklch */ color: oklch(73.4% 0.141 103.3);
Tailwind
colors: {
  custom: {
    50: '#d2c470',
    500: '#b9ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac2d;
$custom-light: #d2c470;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac2d",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 54.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73371,
    "c": 0.14052,
    "h": 103.3
  },
  "luminance": 0.40009
}

Semantic roles & 50–950 ramp

primary
#B9AC2D
secondary
#7980C9
accent
#53E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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