#B7BA33#B7BA33

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

Color values

HEX#B7BA33
RGBrgb(183, 186, 51)
HSLhsl(61, 57%, 46%)
HSVhsv(61, 73%, 73%)
CMYKcmyk(1.6%, 0%, 72.6%, 27.1%)
CIE-LABlab(73.17, -17.03, 63.77)
CIE-LCHlch(73.17, 66.00, 104.95°)
OKLaboklab(76.29% -0.0534 0.1408)
OKLCHoklch(76.29% 0.151 110.8)
XYZxyz(37.6862, 45.4251, 9.9141)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA33 #3633BA
analogous
#BA7A33 #B7BA33 #74BA33
triadic
#B7BA33 #33B7BA #BA33B7
tetradic
#B7BA33 #33BA7A #3633BA #BA3374
square
#B7BA33 #33BA7A #3633BA #BA3374
split-complementary
#B7BA33 #3374BA #7A33BA
monochromatic
#585A19 #888A26 #B7BA33 #CFD159 #DDDF89

Accessibility & contrast

On white

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

On black

10.08
#B7BA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA33
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA33#FFFFFF#000000##000000
##B7BA331.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7ba33;
/* rgb */ color: rgb(183, 186, 51);
/* oklch */ color: oklch(76.3% 0.151 110.8);
Tailwind
colors: {
  custom: {
    50: '#d0ce74',
    500: '#b7ba33',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba33;
$custom-light: #d0ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba33",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 61.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76287,
    "c": 0.15061,
    "h": 110.8
  },
  "luminance": 0.45424
}

Semantic roles & 50–950 ramp

primary
#B7BA33
secondary
#8280C9
accent
#48E04B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BA33

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

Preview Lab → · Contrast checker → · Palette generator →

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