#B8BA2D#B8BA2D

#B8BA2D is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.154 H 110.4°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#B8BA2D
RGBrgb(184, 186, 45)
HSLhsl(61, 61%, 45%)
HSVhsv(61, 76%, 73%)
CMYKcmyk(1.1%, 0%, 75.8%, 27.1%)
CIE-LABlab(73.22, -16.87, 65.83)
CIE-LCHlch(73.22, 67.96, 104.37°)
OKLaboklab(76.33% -0.0535 0.1441)
OKLCHoklch(76.33% 0.154 110.4)
XYZxyz(37.8011, 45.4987, 9.2730)
Luminance0.4550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BA2D #2F2DBA
analogous
#BA752D #B8BA2D #71BA2D
triadic
#B8BA2D #2DB8BA #BA2DB8
tetradic
#B8BA2D #2DBA75 #2F2DBA #BA2D71
square
#B8BA2D #2DBA75 #2F2DBA #BA2D71
split-complementary
#B8BA2D #2D71BA #752DBA
monochromatic
#575715 #878921 #B8BA2D #D3D550 #DFE081

Accessibility & contrast

On white

2.08
#B8BA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#B8BA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BA2D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BA2D#FFFFFF#000000##000000
##B8BA2D1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ba2d;
/* rgb */ color: rgb(184, 186, 45);
/* oklch */ color: oklch(76.3% 0.154 110.4);
Tailwind
colors: {
  custom: {
    50: '#d1ce72',
    500: '#b8ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #b8ba2d;
$custom-light: #d1ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ba2d",
  "rgb": {
    "r": 184,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 60.851,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76335,
    "c": 0.15372,
    "h": 110.4
  },
  "luminance": 0.45498
}

Semantic roles & 50–950 ramp

primary
#B8BA2D
secondary
#7B79C9
accent
#44E446
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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