#B5BA4E#B5BA4E

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

Color values

HEX#B5BA4E
RGBrgb(181, 186, 78)
HSLhsl(63, 44%, 52%)
HSVhsv(63, 58%, 73%)
CMYKcmyk(2.7%, 0%, 58.1%, 27.1%)
CIE-LABlab(73.22, -16.23, 52.91)
CIE-LCHlch(73.22, 55.34, 107.06°)
OKLaboklab(76.35% -0.0483 0.1221)
OKLCHoklch(76.35% 0.131 111.6)
XYZxyz(37.9911, 45.4925, 13.9859)
Luminance0.4549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BA4E #534EBA
analogous
#BA894E #B5BA4E #7FBA4E
triadic
#B5BA4E #4EB5BA #BA4EB5
tetradic
#B5BA4E #4EBA89 #534EBA #BA4E7F
square
#B5BA4E #4EBA89 #534EBA #BA4E7F
split-complementary
#B5BA4E #4E7FBA #894EBA
monochromatic
#636628 #8E9239 #B5BA4E #C7CB7A #DADCA6

Accessibility & contrast

On white

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

On black

10.10
#B5BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BA4E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BA4E#FFFFFF#000000##000000
##B5BA4E1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B242
Deuteranopia (green-blind)
#C8B554
Tritanopia (blue-blind)
#C0B0A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5ba4e;
/* rgb */ color: rgb(181, 186, 78);
/* oklch */ color: oklch(76.3% 0.131 111.6);
Tailwind
colors: {
  custom: {
    50: '#cece84',
    500: '#b5ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #b5ba4e;
$custom-light: #cece84;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ba4e",
  "rgb": {
    "r": 181,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 62.778,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76348,
    "c": 0.1313,
    "h": 111.6
  },
  "luminance": 0.45492
}

Semantic roles & 50–950 ramp

primary
#B5BA4E
secondary
#9C9ACA
accent
#54D45A
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B5BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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