#B9BA2D#B9BA2D

#B9BA2D is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.153 H 110.0°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#B9BA2D
RGBrgb(185, 186, 45)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 73%)
CMYKcmyk(0.5%, 0%, 75.8%, 27.1%)
CIE-LABlab(73.30, -16.44, 65.94)
CIE-LCHlch(73.30, 67.95, 104.00°)
OKLaboklab(76.42% -0.0524 0.1443)
OKLCHoklch(76.42% 0.153 110)
XYZxyz(38.0415, 45.6227, 9.2843)
Luminance0.4562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA2D #2E2DBA
analogous
#BA752D #B9BA2D #72BA2D
triadic
#B9BA2D #2DB9BA #BA2DB9
tetradic
#B9BA2D #2DBA75 #2E2DBA #BA2D72
square
#B9BA2D #2DBA75 #2E2DBA #BA2D72
split-complementary
#B9BA2D #2D72BA #752DBA
monochromatic
#575715 #888921 #B9BA2D #D4D550 #E0E081

Accessibility & contrast

On white

2.07
#B9BA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#B9BA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA2D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA2D#FFFFFF#000000##000000
##B9BA2D1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B207
Deuteranopia (green-blind)
#CBB639
Tritanopia (blue-blind)
#C6AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba2d;
/* rgb */ color: rgb(185, 186, 45);
/* oklch */ color: oklch(76.4% 0.153 110.0);
Tailwind
colors: {
  custom: {
    50: '#d2ce72',
    500: '#b9ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba2d;
$custom-light: #d2ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba2d",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 60.426,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76419,
    "c": 0.15349,
    "h": 110
  },
  "luminance": 0.45622
}

Semantic roles & 50–950 ramp

primary
#B9BA2D
secondary
#7A79C9
accent
#44E445
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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