#B5BA45#B5BA45

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

Color values

HEX#B5BA45
RGBrgb(181, 186, 69)
HSLhsl(63, 46%, 50%)
HSVhsv(63, 63%, 73%)
CMYKcmyk(2.7%, 0%, 62.9%, 27.1%)
CIE-LABlab(73.14, -16.87, 56.74)
CIE-LCHlch(73.14, 59.19, 106.56°)
OKLaboklab(76.26% -0.051 0.129)
OKLCHoklch(76.26% 0.139 111.6)
XYZxyz(37.6902, 45.3721, 12.4013)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BA45 #4A45BA
analogous
#BA8445 #B5BA45 #7BBA45
triadic
#B5BA45 #45B5BA #BA45B5
tetradic
#B5BA45 #45BA84 #4A45BA #BA457B
square
#B5BA45 #45BA84 #4A45BA #BA457B
split-complementary
#B5BA45 #457BBA #8445BA
monochromatic
#5E6124 #8A8D34 #B5BA45 #C7CB72 #D9DB9E

Accessibility & contrast

On white

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

On black

10.07
#B5BA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BA45
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BA45#FFFFFF#000000##000000
##B5BA451.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B236
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#C1AFA2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5ba45;
/* rgb */ color: rgb(181, 186, 69);
/* oklch */ color: oklch(76.3% 0.139 111.6);
Tailwind
colors: {
  custom: {
    50: '#cece7e',
    500: '#b5ba45',
    950: '#000000',
  },
}
SCSS
$custom: #b5ba45;
$custom-light: #cece7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ba45",
  "rgb": {
    "r": 181,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 62.564,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.7626,
    "c": 0.13872,
    "h": 111.6
  },
  "luminance": 0.45371
}

Semantic roles & 50–950 ramp

primary
#B5BA45
secondary
#9593C8
accent
#52D658
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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