#B7BA37#B7BA37

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

Color values

HEX#B7BA37
RGBrgb(183, 186, 55)
HSLhsl(61, 54%, 47%)
HSVhsv(61, 70%, 73%)
CMYKcmyk(1.6%, 0%, 70.4%, 27.1%)
CIE-LABlab(73.19, -16.84, 62.37)
CIE-LCHlch(73.19, 64.60, 105.11°)
OKLaboklab(76.31% -0.0525 0.1386)
OKLCHoklch(76.31% 0.148 110.8)
XYZxyz(37.7782, 45.4619, 10.3987)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA37 #3A37BA
analogous
#BA7C37 #B7BA37 #76BA37
triadic
#B7BA37 #37B7BA #BA37B7
tetradic
#B7BA37 #37BA7C #3A37BA #BA3776
square
#B7BA37 #37BA7C #3A37BA #BA3776
split-complementary
#B7BA37 #3776BA #7C37BA
monochromatic
#5A5C1B #898B29 #B7BA37 #CDD05F #DCDE8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BA37#FFFFFF#000000##000000
##B7BA371.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)
#C9B220
Deuteranopia (green-blind)
#CAB541
Tritanopia (blue-blind)
#C4AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7ba37;
/* rgb */ color: rgb(183, 186, 55);
/* oklch */ color: oklch(76.3% 0.148 110.8);
Tailwind
colors: {
  custom: {
    50: '#d0ce76',
    500: '#b7ba37',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba37;
$custom-light: #d0ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba37",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 61.374,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76314,
    "c": 0.14818,
    "h": 110.8
  },
  "luminance": 0.45461
}

Semantic roles & 50–950 ramp

primary
#B7BA37
secondary
#8685C8
accent
#4ADE4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BA37

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

Preview Lab → · Contrast checker → · Palette generator →

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