#B5BA2C#B5BA2C

#B5BA2C is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.1% C 0.155 H 111.6°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#B5BA2C
RGBrgb(181, 186, 44)
HSLhsl(62, 62%, 45%)
HSVhsv(62, 76%, 73%)
CMYKcmyk(2.7%, 0%, 76.3%, 27.1%)
CIE-LABlab(72.97, -18.19, 65.83)
CIE-LCHlch(72.97, 68.30, 105.45°)
OKLaboklab(76.08% -0.0572 0.144)
OKLCHoklch(76.08% 0.155 111.6)
XYZxyz(37.0709, 45.1244, 9.1395)
Luminance0.4512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BA2C #312CBA
analogous
#BA782C #B5BA2C #6EBA2C
triadic
#B5BA2C #2CB5BA #BA2CB5
tetradic
#B5BA2C #2CBA78 #312CBA #BA2C6E
square
#B5BA2C #2CBA78 #312CBA #BA2C6E
split-complementary
#B5BA2C #2C6EBA #782CBA
monochromatic
#555715 #858920 #B5BA2C #D0D54E #DDE180

Accessibility & contrast

On white

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

On black

10.02
#B5BA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BA2C
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BA2C#FFFFFF#000000##000000
##B5BA2C1.002.0910.0210.02
#FFFFFF2.091.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B104
Deuteranopia (green-blind)
#C9B538
Tritanopia (blue-blind)
#C2AEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b5ba2c;
/* rgb */ color: rgb(181, 186, 44);
/* oklch */ color: oklch(76.1% 0.155 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfce71',
    500: '#b5ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #b5ba2c;
$custom-light: #cfce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ba2c",
  "rgb": {
    "r": 181,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 62.113,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.76078,
    "c": 0.15495,
    "h": 111.6
  },
  "luminance": 0.45123
}

Semantic roles & 50–950 ramp

primary
#B5BA2C
secondary
#7B78CA
accent
#43E549
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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