#B7BA35#B7BA35

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

Color values

HEX#B7BA35
RGBrgb(183, 186, 53)
HSLhsl(61, 56%, 47%)
HSVhsv(61, 72%, 73%)
CMYKcmyk(1.6%, 0%, 71.5%, 27.1%)
CIE-LABlab(73.18, -16.94, 63.08)
CIE-LCHlch(73.18, 65.31, 105.03°)
OKLaboklab(76.3% -0.053 0.1397)
OKLCHoklch(76.3% 0.149 110.8)
XYZxyz(37.7312, 45.4431, 10.1513)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA35 #3835BA
analogous
#BA7A35 #B7BA35 #75BA35
triadic
#B7BA35 #35B7BA #BA35B7
tetradic
#B7BA35 #35BA7A #3835BA #BA3575
square
#B7BA35 #35BA7A #3835BA #BA3575
split-complementary
#B7BA35 #3575BA #7A35BA
monochromatic
#595B1A #888A27 #B7BA35 #CED05C #DCDE8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BA35#FFFFFF#000000##000000
##B7BA351.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)
#C9B21D
Deuteranopia (green-blind)
#CAB53F
Tritanopia (blue-blind)
#C4AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7ba35;
/* rgb */ color: rgb(183, 186, 53);
/* oklch */ color: oklch(76.3% 0.149 110.8);
Tailwind
colors: {
  custom: {
    50: '#d0ce75',
    500: '#b7ba35',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba35;
$custom-light: #d0ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba35",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 53
  },
  "hsl": {
    "h": 61.353,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.763,
    "c": 0.14942,
    "h": 110.8
  },
  "luminance": 0.45442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7BA35

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

Preview Lab → · Contrast checker → · Palette generator →

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