#B8BA35#B8BA35

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

Color values

HEX#B8BA35
RGBrgb(184, 186, 53)
HSLhsl(61, 56%, 47%)
HSVhsv(61, 72%, 73%)
CMYKcmyk(1.1%, 0%, 71.5%, 27.1%)
CIE-LABlab(73.26, -16.51, 63.18)
CIE-LCHlch(73.26, 65.30, 104.64°)
OKLaboklab(76.38% -0.0518 0.1399)
OKLCHoklch(76.38% 0.149 110.3)
XYZxyz(37.9700, 45.5663, 10.1625)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BA35 #3735BA
analogous
#BA7A35 #B8BA35 #76BA35
triadic
#B8BA35 #35B8BA #BA35B8
tetradic
#B8BA35 #35BA7A #3735BA #BA3576
square
#B8BA35 #35BA7A #3735BA #BA3576
split-complementary
#B8BA35 #3576BA #7A35BA
monochromatic
#5A5B1A #898A27 #B8BA35 #CFD05C #DDDE8B

Accessibility & contrast

On white

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

On black

10.11
#B8BA35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BA35
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BA35#FFFFFF#000000##000000
##B8BA351.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ba35;
/* rgb */ color: rgb(184, 186, 53);
/* oklch */ color: oklch(76.4% 0.149 110.3);
Tailwind
colors: {
  custom: {
    50: '#d1ce75',
    500: '#b8ba35',
    950: '#000000',
  },
}
SCSS
$custom: #b8ba35;
$custom-light: #d1ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ba35",
  "rgb": {
    "r": 184,
    "g": 186,
    "b": 53
  },
  "hsl": {
    "h": 60.902,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76384,
    "c": 0.14919,
    "h": 110.3
  },
  "luminance": 0.45565
}

Semantic roles & 50–950 ramp

primary
#B8BA35
secondary
#8482C8
accent
#49DF4B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BA35

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

Preview Lab → · Contrast checker → · Palette generator →

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