#B7BA29#B7BA29

#B7BA29 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.2% C 0.156 H 110.8°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#B7BA29
RGBrgb(183, 186, 41)
HSLhsl(61, 64%, 45%)
HSVhsv(61, 78%, 73%)
CMYKcmyk(1.6%, 0%, 78%, 27.1%)
CIE-LABlab(73.12, -17.45, 66.94)
CIE-LCHlch(73.12, 69.17, 104.61°)
OKLaboklab(76.23% -0.0554 0.1458)
OKLCHoklch(76.23% 0.156 110.8)
XYZxyz(37.4889, 45.3462, 8.8753)
Luminance0.4535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA29 #2C29BA
analogous
#BA7429 #B7BA29 #6FBA29
triadic
#B7BA29 #29B7BA #BA29B7
tetradic
#B7BA29 #29BA74 #2C29BA #BA296F
square
#B7BA29 #29BA74 #2C29BA #BA296F
split-complementary
#B7BA29 #296FBA #7429BA
monochromatic
#545613 #86881E #B7BA29 #D4D749 #E0E27B

Accessibility & contrast

On white

2.09
#B7BA29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#B7BA29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA29
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA29#FFFFFF#000000##000000
##B7BA291.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#CAB536
Tritanopia (blue-blind)
#C4AE9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b7ba29;
/* rgb */ color: rgb(183, 186, 41);
/* oklch */ color: oklch(76.2% 0.156 110.8);
Tailwind
colors: {
  custom: {
    50: '#d0ce70',
    500: '#b7ba29',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba29;
$custom-light: #d0ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba29",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 41
  },
  "hsl": {
    "h": 61.241,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76229,
    "c": 0.15595,
    "h": 110.8
  },
  "luminance": 0.45345
}

Semantic roles & 50–950 ramp

primary
#B7BA29
secondary
#7675CA
accent
#41E744
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7BA29

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

Preview Lab → · Contrast checker → · Palette generator →

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