#B7BA34#B7BA34

#B7BA34 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.150 H 110.8°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#B7BA34
RGBrgb(183, 186, 52)
HSLhsl(61, 56%, 47%)
HSVhsv(61, 72%, 73%)
CMYKcmyk(1.6%, 0%, 72%, 27.1%)
CIE-LABlab(73.18, -16.98, 63.42)
CIE-LCHlch(73.18, 65.66, 104.99°)
OKLaboklab(76.29% -0.0532 0.1403)
OKLCHoklch(76.29% 0.15 110.8)
XYZxyz(37.7085, 45.4340, 10.0314)
Luminance0.4543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA34 #3734BA
analogous
#BA7A34 #B7BA34 #74BA34
triadic
#B7BA34 #34B7BA #BA34B7
tetradic
#B7BA34 #34BA7A #3734BA #BA3474
square
#B7BA34 #34BA7A #3734BA #BA3474
split-complementary
#B7BA34 #3474BA #7A34BA
monochromatic
#595A19 #888A27 #B7BA34 #CED15A #DCDE8A

Accessibility & contrast

On white

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

On black

10.09
#B7BA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA34
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA34#FFFFFF#000000##000000
##B7BA341.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B21B
Deuteranopia (green-blind)
#CAB53E
Tritanopia (blue-blind)
#C4AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7ba34;
/* rgb */ color: rgb(183, 186, 52);
/* oklch */ color: oklch(76.3% 0.150 110.8);
Tailwind
colors: {
  custom: {
    50: '#d0ce75',
    500: '#b7ba34',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba34;
$custom-light: #d0ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba34",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 61.343,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76293,
    "c": 0.15002,
    "h": 110.8
  },
  "luminance": 0.45433
}

Semantic roles & 50–950 ramp

primary
#B7BA34
secondary
#8381C8
accent
#48E04C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BA34

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

Preview Lab → · Contrast checker → · Palette generator →

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