#B5C545#B5C545

#B5C545 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.7% C 0.151 H 116.1°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#B5C545
RGBrgb(181, 197, 69)
HSLhsl(68, 52%, 52%)
HSVhsv(68, 65%, 77%)
CMYKcmyk(8.1%, 0%, 65%, 22.7%)
CIE-LABlab(76.18, -22.34, 59.94)
CIE-LCHlch(76.18, 63.97, 110.44°)
OKLaboklab(78.7% -0.0664 0.1358)
OKLCHoklch(78.7% 0.151 116.1)
XYZxyz(40.0974, 50.1865, 13.2037)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C545 #5545C5
analogous
#C59545 #B5C545 #75C545
triadic
#B5C545 #45B5C5 #C545B5
tetradic
#B5C545 #45C595 #5545C5 #C54575
square
#B5C545 #45C595 #5545C5 #C54575
split-complementary
#B5C545 #4575C5 #9545C5
monochromatic
#646D22 #8F9C31 #B5C545 #C8D474 #DAE2A2

Accessibility & contrast

On white

1.90
#B5C545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#B5C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C545
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C545#FFFFFF#000000##000000
##B5C5451.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#C0BAAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b5c545;
/* rgb */ color: rgb(181, 197, 69);
/* oklch */ color: oklch(78.7% 0.151 116.1);
Tailwind
colors: {
  custom: {
    50: '#ced67f',
    500: '#b5c545',
    950: '#000000',
  },
}
SCSS
$custom: #b5c545;
$custom-light: #ced67f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c545",
  "rgb": {
    "r": 181,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 67.5,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.787,
    "c": 0.15113,
    "h": 116.1
  },
  "luminance": 0.50186
}

Semantic roles & 50–950 ramp

primary
#B5C545
secondary
#3F3777
accent
#4CDC5E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5C545

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

Preview Lab → · Contrast checker → · Palette generator →

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