#B7BA22#B7BA22

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

Color values

HEX#B7BA22
RGBrgb(183, 186, 34)
HSLhsl(61, 69%, 43%)
HSVhsv(61, 82%, 73%)
CMYKcmyk(1.6%, 0%, 81.7%, 27.1%)
CIE-LABlab(73.09, -17.69, 68.84)
CIE-LCHlch(73.09, 71.08, 104.41°)
OKLaboklab(76.2% -0.0566 0.1486)
OKLCHoklch(76.2% 0.159 110.9)
XYZxyz(37.3775, 45.3016, 8.2882)
Luminance0.4530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA22 #2522BA
analogous
#BA7122 #B7BA22 #6BBA22
triadic
#B7BA22 #22B7BA #BA22B7
tetradic
#B7BA22 #22BA71 #2522BA #BA226B
square
#B7BA22 #22BA71 #2522BA #BA226B
split-complementary
#B7BA22 #226BBA #7122BA
monochromatic
#51530F #848619 #B7BA22 #D9DC3E #E3E571

Accessibility & contrast

On white

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

On black

10.06
#B7BA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA22
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA22#FFFFFF#000000##000000
##B7BA221.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7ba22;
/* rgb */ color: rgb(183, 186, 34);
/* oklch */ color: oklch(76.2% 0.159 110.9);
Tailwind
colors: {
  custom: {
    50: '#d1ce6d',
    500: '#b7ba22',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba22;
$custom-light: #d1ce6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba22",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 34
  },
  "hsl": {
    "h": 61.184,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.76196,
    "c": 0.15902,
    "h": 110.9
  },
  "luminance": 0.45301
}

Semantic roles & 50–950 ramp

primary
#B7BA22
secondary
#6E6CCC
accent
#3CEC3F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B7BA22

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

Preview Lab → · Contrast checker → · Palette generator →

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